diff src/share/vm/asm/codeBuffer.hpp @ 1563:1a5913bf5e19

6951083: oops and relocations should part of nmethod not CodeBlob Summary: This moves the oops from Codeblob to nmethod. Reviewed-by: kvn, never
author twisti
date Thu, 20 May 2010 06:34:23 -0700
parents 9f5b60a14736
children e9ff18c4ace7
line wrap: on
line diff
--- a/src/share/vm/asm/codeBuffer.hpp	Thu May 20 01:34:22 2010 -0700
+++ b/src/share/vm/asm/codeBuffer.hpp	Thu May 20 06:34:23 2010 -0700
@@ -510,9 +510,9 @@
     copy_relocations_to(blob);
     copy_code_to(blob);
   }
-  void copy_oops_to(CodeBlob* blob) {
+  void copy_oops_to(nmethod* nm) {
     if (!oop_recorder()->is_unused()) {
-      oop_recorder()->copy_to(blob);
+      oop_recorder()->copy_to(nm);
     }
   }