Error when UseCompressedOops is turned off

Aleksey Shipilev aleksey.shipilev at oracle.com
Wed Dec 11 14:37:49 PST 2013


Hi Pradeep,

On 12/12/2013 02:11 AM, Pradeep Bashyal wrote:
> When running the sample JOLSample_10_DataModels with -XX:-UseCompressedOops
> VM option on x64 Macbook Pro with jdk1.7.0_40, I get the following NPE.

Thanks for the bug report! This is the unexpected effect for the
optimization I put a few days ago. It went undetected because we never
normally exercise the guessAlignment() logic. Fixed with:

$ hg tip
changeset:   3:b6a81164ef0c
tag:         tip
user:        shade
date:        Thu Dec 12 02:35:03 2013 +0400
summary:     Regression: initialization order matter in VMSupport.

Please update and try again.

-Aleksey.


More information about the jol-dev mailing list