Mercurial > hg > truffle
diff src/share/vm/memory/genMarkSweep.cpp @ 113:ba764ed4b6f2
6420645: Create a vm that uses compressed oops for up to 32gb heapsizes
Summary: Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv
Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
author | coleenp |
---|---|
date | Sun, 13 Apr 2008 17:43:42 -0400 |
parents | a61af66fc99e |
children | d1605aabd0a1 12eea04c8b06 |
line wrap: on
line diff
--- a/src/share/vm/memory/genMarkSweep.cpp Fri Apr 11 09:56:35 2008 -0400 +++ b/src/share/vm/memory/genMarkSweep.cpp Sun Apr 13 17:43:42 2008 -0400 @@ -73,8 +73,7 @@ VALIDATE_MARK_SWEEP_ONLY( if (ValidateMarkSweep) { - guarantee(_root_refs_stack->length() == 0, - "should be empty by now"); + guarantee(_root_refs_stack->length() == 0, "should be empty by now"); } ) @@ -165,9 +164,9 @@ #ifdef VALIDATE_MARK_SWEEP if (ValidateMarkSweep) { - _root_refs_stack = new (ResourceObj::C_HEAP) GrowableArray<oop*>(100, true); - _other_refs_stack = new (ResourceObj::C_HEAP) GrowableArray<oop*>(100, true); - _adjusted_pointers = new (ResourceObj::C_HEAP) GrowableArray<oop*>(100, true); + _root_refs_stack = new (ResourceObj::C_HEAP) GrowableArray<void*>(100, true); + _other_refs_stack = new (ResourceObj::C_HEAP) GrowableArray<void*>(100, true); + _adjusted_pointers = new (ResourceObj::C_HEAP) GrowableArray<void*>(100, true); _live_oops = new (ResourceObj::C_HEAP) GrowableArray<oop>(100, true); _live_oops_moved_to = new (ResourceObj::C_HEAP) GrowableArray<oop>(100, true); _live_oops_size = new (ResourceObj::C_HEAP) GrowableArray<size_t>(100, true);