diff src/share/vm/adlc/formssel.cpp @ 6725:da91efe96a93

6964458: Reimplement class meta-data storage to use native memory Summary: Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland Contributed-by: jmasa <jon.masamitsu@oracle.com>, stefank <stefan.karlsson@oracle.com>, mgerdin <mikael.gerdin@oracle.com>, never <tom.rodriguez@oracle.com>
author coleenp
date Sat, 01 Sep 2012 13:25:18 -0400
parents 8c92982cbbc4
children 7eca5de9e0b6
line wrap: on
line diff
--- a/src/share/vm/adlc/formssel.cpp	Fri Aug 31 16:39:35 2012 -0700
+++ b/src/share/vm/adlc/formssel.cpp	Sat Sep 01 13:25:18 2012 -0400
@@ -2383,8 +2383,8 @@
   if ( op->is_base_constant(globals) == Form::idealP ) {
     // Find the constant's index:  _c0, _c1, _c2, ... , _cN
     uint idx  = op->constant_position( globals, rep_var);
-    fprintf(fp,"  virtual bool disp_is_oop() const {");
-    fprintf(fp,  "  return _c%d->isa_oop_ptr();", idx);
+    fprintf(fp,"  virtual relocInfo::relocType disp_reloc() const {");
+    fprintf(fp,  "  return _c%d->reloc();", idx);
     fprintf(fp, " }\n");
   }
 }