diff src/share/vm/oops/cpCacheOop.cpp @ 2376:c7f3d0b4570f

7017732: move static fields into Class to prepare for perm gen removal Reviewed-by: kvn, coleenp, twisti, stefank
author never
date Fri, 18 Mar 2011 16:00:34 -0700
parents a97fd181b813
children ed69575596ac
line wrap: on
line diff
--- a/src/share/vm/oops/cpCacheOop.cpp	Fri Mar 18 15:52:42 2011 -0700
+++ b/src/share/vm/oops/cpCacheOop.cpp	Fri Mar 18 16:00:34 2011 -0700
@@ -133,7 +133,7 @@
                                        TosState field_type,
                                        bool is_final,
                                        bool is_volatile) {
-  set_f1(field_holder());
+  set_f1(field_holder()->java_mirror());
   set_f2(field_offset);
   // The field index is used by jvm/ti and is the index into fields() array
   // in holder instanceKlass.  This is scaled by instanceKlass::next_offset.