activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nigro_franz <>
Subject sun.misc.Unsafe VS io.netty.util.internal.PlatformDependent VS null
Date Wed, 08 Jun 2016 14:52:00 GMT
Hi to everyone!

I've developed a memory mapped implementation of SequenceFile to be used
inside Artemis's Journal and i've encountered a big question: can i use

I've noticed that between all the dependencies of Artemis there was Netty's
libs with its PlatformDependent class and i've finally choose to use it
instead of "naked" Unsafe,but i'm not completly satisfied by this solution
because PlatformDependent does not provide all the methods of Unsafe (e.g.
With such methods there are a lot of improvements and features that can be
developed, considering that in the future of Java there will be a place for
a safer Unsafe :)
There exists a good policy for all that cases in which something so "unsafe"
and "platform dependend" is needed?What the other devs think about it?

With Regards,

View this message in context:
Sent from the ActiveMQ - Dev mailing list archive at

View raw message