hg: hsx/hotspot-emb/hotspot: 7102776: Pack instanceKlass boolean fields into single u1 field
coleen.phillimore at oracle.com
coleen.phillimore at oracle.com
Thu Nov 17 14:10:06 PST 2011
Changeset: 75c0a73eee98
Author: coleenp
Date: 2011-11-17 12:53 -0500
URL: http://hg.openjdk.java.net/hsx/hotspot-emb/hotspot/rev/75c0a73eee98
7102776: Pack instanceKlass boolean fields into single u1 field
Summary: Reduce class runtime memory usage by packing 4 instanceKlass boolean fields into single u1 field. Save 4-byte for each loaded class.
Reviewed-by: dholmes, bobv, phh, twisti, never, coleenp
Contributed-by: Jiangli Zhou <jiangli.zhou at oracle.com>
! agent/src/share/classes/sun/jvm/hotspot/oops/InstanceKlass.java
! src/share/vm/code/dependencies.cpp
! src/share/vm/oops/instanceKlass.hpp
! src/share/vm/oops/instanceKlassKlass.cpp
! src/share/vm/runtime/vmStructs.cpp
More information about the hotspot-runtime-dev
mailing list