Mercurial > hg > graal-jvmci-8
diff src/share/vm/oops/methodDataKlass.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 |
line wrap: on
line diff
--- a/src/share/vm/oops/methodDataKlass.cpp Fri Apr 11 09:56:35 2008 -0400 +++ b/src/share/vm/oops/methodDataKlass.cpp Sun Apr 13 17:43:42 2008 -0400 @@ -95,6 +95,7 @@ } #endif // SERIALGC + int methodDataKlass::oop_oop_iterate(oop obj, OopClosure* blk) { assert (obj->is_methodData(), "object must be method data"); methodDataOop m = methodDataOop(obj); @@ -113,7 +114,6 @@ return size; } - int methodDataKlass::oop_oop_iterate_m(oop obj, OopClosure* blk, MemRegion mr) { assert (obj->is_methodData(), "object must be method data"); methodDataOop m = methodDataOop(obj); @@ -158,14 +158,14 @@ assert (obj->is_methodData(), "object must be method data"); methodDataOop m = methodDataOop(obj); // This should never point into the young gen. - assert(!PSScavenge::should_scavenge(oop(*m->adr_method())), "Sanity"); + assert(!PSScavenge::should_scavenge(m->adr_method()), "Sanity"); } void methodDataKlass::oop_push_contents(PSPromotionManager* pm, oop obj) { assert (obj->is_methodData(), "object must be method data"); methodDataOop m = methodDataOop(obj); // This should never point into the young gen. - assert(!PSScavenge::should_scavenge(oop(*m->adr_method())), "Sanity"); + assert(!PSScavenge::should_scavenge(m->adr_method()), "Sanity"); } int methodDataKlass::oop_update_pointers(ParCompactionManager* cm, oop obj) {