8026049: (bf) Intrinsify ByteBuffer.put{Int, Double, Float, ...} methods

Coleen Phillimore coleen.phillimore at oracle.com
Mon Mar 16 15:49:26 UTC 2015


For the experimental option, I don't see why it has to default to false 
everywhere to be an experimental option.

But why not declare it in globals_arm.hpp as an experimental option so 
that you don't need to add code for the other platforms to turn it back 
off again?

Thanks,
coleen

On 3/16/15, 5:29 AM, Andrew Haley wrote:
> On 16/03/15 00:40, David Holmes wrote:
>> Experimental options are supposed to be opt-in only via
>> UnlockExperimentalVMOptions. You presently have the experimental
>> UseUnalignedAccesses being turned on unconditionally on those
>> architectures that support it.
> Well, it works.  I guess this could be changed to be a product option,
> but it's only really needed for testing.  And aren't product options
> supposed to be properly documented for all users?
>
> In other words: please don't say "don't do that."  Please tell me what
> I should do instead.  All suggestions are welcome, really because I'm
> rather stuck.
>
> Andrew.



More information about the hotspot-dev mailing list