Disable compressedOop,

Christian Thalinger christian.thalinger at oracle.com
Fri Mar 4 14:43:01 UTC 2011


On Mar 4, 2011, at 3:38 PM, Dang Nhan Nguyen wrote:
> Hi all,
> 
> I am trying to debug a small piece of code with hotspot using VS2010, on Win7 64bit. 
> My code caused a bug whenever I referred to an object in Young Generation of the heap which has its klass as a CompressedOop. As a workaround, I want to disable using CompressedOop.
> 
> Does anybody know how to disable CompressedOop when I build the hotspot?

I'm not sure I understand.  What do you mean by "when I build the hotspot"?  Do you hit this bug *while* building HotSpot?

To disable compressed oops use: -XX:-UseCompressedOops

-- Christian


More information about the build-dev mailing list