-XX:+UseCompressedOops -XX:ObjectAlignmentInBytes=16
Aleksey Shipilev
aleksey.shipilev at oracle.com
Mon Feb 15 14:01:32 UTC 2016
On 02/15/2016 04:48 PM, Eugen Rabii wrote:
> The thing that does NOT make sense to me is this use-case:
>
> *-XX:+UseCompressedOops -XX:+UseCompressedClassPointers
> -XX:ObjectAlignmentInBytes=16
>
> *The output is this:
>
> Running 64-bit HotSpot VM.
> Using compressed oop with 4-bit shift.
> Using compressed klass with 0x0000001000000000 base address and 0-bit
> shift.
>
> I was really expecting to both be "4-bit shift". Why they are not?
Indeed, this is not the forum for these questions. Ask at StackOverflow,
the answer is quite simple.
Cheers,
-Aleksey
More information about the jol-dev
mailing list