Mercurial > hg > graal-jvmci-8
diff src/share/vm/graal/graalEnv.cpp @ 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 | 6e1abd79e7c8 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalEnv.cpp Thu Nov 17 17:18:16 2011 +0100 +++ b/src/share/vm/graal/graalEnv.cpp Thu Nov 17 17:45:34 2011 +0100 @@ -424,7 +424,7 @@ // ------------------------------------------------------------------ // ciEnv::register_method -nmethod* GraalEnv::register_method(methodHandle method, +nmethod* GraalEnv::register_method(methodHandle& method, int entry_bci, CodeOffsets* offsets, int orig_pc_offset, @@ -441,7 +441,7 @@ bool has_debug_info, bool has_unsafe_access, bool install_code) { - VM_ENTRY_MARK; + EXCEPTION_CONTEXT; nmethod* nm = NULL; int comp_level = CompLevel_simple; {