diff src/share/vm/ci/ciEnv.hpp @ 3619:5e9645341ec3

support for new RiRuntime features: add code without making it the default for the method, executing Java tasks on the compile thread, communicate nmethod reference to Java code as HotSpotCompiledMethod
author Lukas Stadler <lukas.stadler@jku.at>
date Wed, 09 Nov 2011 11:27:38 +0100
parents 22d11b3bc561
children 04b9a2566eec
line wrap: on
line diff
--- a/src/share/vm/ci/ciEnv.hpp	Tue Oct 25 14:44:32 2011 +0200
+++ b/src/share/vm/ci/ciEnv.hpp	Wed Nov 09 11:27:38 2011 +0100
@@ -312,7 +312,7 @@
   uint compile_id();  // task()->compile_id()
 
   // Register the result of a compilation.
-  void register_method(ciMethod*                 target,
+  nmethod* register_method(ciMethod*             target,
                        int                       entry_bci,
                        CodeOffsets*              offsets,
                        int                       orig_pc_offset,
@@ -324,7 +324,8 @@
                        AbstractCompiler*         compiler,
                        int                       comp_level,
                        bool                      has_debug_info = true,
-                       bool                      has_unsafe_access = false);
+                       bool                      has_unsafe_access = false,
+                       bool                      install_code = true);
 
 
   // Access to certain well known ciObjects.