Mercurial > hg > truffle
diff src/share/vm/oops/instanceKlassKlass.cpp @ 165:437d03ea40b1
6703888: Compressed Oops: use the 32-bits gap after klass in a object
Summary: Use the gap also for a narrow oop field and a boxing object value.
Reviewed-by: coleenp, never
author | kvn |
---|---|
date | Wed, 21 May 2008 16:31:35 -0700 |
parents | ba764ed4b6f2 |
children | d1605aabd0a1 |
line wrap: on
line diff
--- a/src/share/vm/oops/instanceKlassKlass.cpp Wed May 21 13:46:23 2008 -0700 +++ b/src/share/vm/oops/instanceKlassKlass.cpp Wed May 21 16:31:35 2008 -0700 @@ -581,7 +581,7 @@ OopMapBlock* map = ik->start_of_nonstatic_oop_maps(); OopMapBlock* end_map = map + ik->nonstatic_oop_map_size(); while (map < end_map) { - st->print("%d-%d ", map->offset(), map->offset() + oopSize*(map->length() - 1)); + st->print("%d-%d ", map->offset(), map->offset() + heapOopSize*(map->length() - 1)); map++; } st->cr();