diff src/share/vm/graal/graalEnv.hpp @ 3661:d24f157f2ba8

Use write barrier in JavaAccess. Fixed thread transition bug.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Thu, 17 Nov 2011 17:45:34 +0100
parents 4123781869da
children f198b24093f3
line wrap: on
line diff
--- a/src/share/vm/graal/graalEnv.hpp	Thu Nov 17 17:18:16 2011 +0100
+++ b/src/share/vm/graal/graalEnv.hpp	Thu Nov 17 17:45:34 2011 +0100
@@ -109,7 +109,7 @@
 
 public:
   // Register the result of a compilation.
-  static nmethod* register_method(methodHandle             target,
+  static nmethod* register_method(methodHandle&             target,
                        int                       entry_bci,
                        CodeOffsets*              offsets,
                        int                       orig_pc_offset,