RFR (S) : 8014362 : Need to expose some processor features via Unsafe interface

David Chase david.r.chase at oracle.com
Fri May 10 15:01:30 PDT 2013


> On 2013-05-10, at 5:36 PM, Aleksey Shipilev <aleksey.shipilev at oracle.com> wrote:
>> Aha. Ok, so the flag then. I would say go through the JNI like
>> AtomicLong does to catch that flag without contaminating the Unsafe
>> without a good reason.

The problem with doing it the way AtomicLong does it is that I would need to add an entrypoint to jvm.h.
Isn't that somewhat more public and official than adding it to Unsafe?

David



More information about the hotspot-compiler-dev mailing list