RFR: jsr166 jdk9 integration wave 6

Martin Buchholz martinrb at google.com
Wed Apr 6 20:17:05 UTC 2016

We missed Aleksey's changes, which broke our integration.

Historically, hotspot was more independent from jdk, and there were no
"flag days" that required both to be modified together.

In jsr166 CVS we still consistently use sun.misc.Unsafe, because it's
... ummm ... more portable.
Our openjdk integration script changes that to jdk.internal.misc, but
needs modification.
Most of these will sadly soon change again, due to varhandlification.

Everything regenerated, now with:

# Replaces sun.misc.Unsafe with jdk9's preferred jdk.internal.misc
find src/main -name '*.java' \
  | xargs perl -pi -0777 \
  -e 's~\bsun\.misc\.Unsafe\b~jdk.internal.misc.Unsafe~g;

On Wed, Apr 6, 2016 at 5:54 AM, Paul Sandoz <paul.sandoz at oracle.com> wrote:
> Hi Martin,
> miscellaneous
> You reverted Aleksey’s change s/putOrderedObject/putObjectRelease.
> The *Ordered* methods are now removed from the “real” jdk.internal.misc.Unsafe.
> Paul.
>> On 3 Apr 2016, at 20:29, Martin Buchholz <martinrb at google.com> wrote:
>> Easy changes to review, up to April Fools day, in part to make room
>> for later unfinished more exciting changes.
>> http://cr.openjdk.java.net/~martin/webrevs/openjdk9/jsr166-jdk9-integration/

More information about the core-libs-dev mailing list