Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fix write loss on concurrent ivar table growth #479
Under java8 an inlined and stripped-down version of stampedlock with fences is used, java6/7 use a stamped lock with volatile writes and JVMs that do not support sun.misc.Unsafe will use synchronized blocks for writes.
Note that this code requires oracle java 1.8 to build against for the sun.misc.Unsafe class. I added a stub class in the build_lib dir but that has to be integrated in the build process.