< prev index next >

src/hotspot/share/code/pcDesc.hpp

Print this page
rev 60137 : 8227745: Enable Escape Analysis for Better Performance in the Presence of JVMTI Agents
Reviewed-by: mdoerr, goetz
rev 60138 : 8227745: delta webrev.5 -> webrev.6

@@ -89,13 +89,17 @@
   void set_is_method_handle_invoke(bool z)       { set_flag(PCDESC_is_method_handle_invoke, z); }
 
   bool     return_oop()                    const { return (_flags & PCDESC_return_oop) != 0;     }
   void set_return_oop(bool z)                    { set_flag(PCDESC_return_oop, z); }
 
+  // Indicates if there are objects in scope that, based on escape analysis, are local to the
+  // compiled method or local to the current thread.
   bool     not_global_escape_in_scope()    const { return (_flags & PCDESC_not_global_escape_in_scope) != 0; }
   void set_not_global_escape_in_scope(bool z)    { set_flag(PCDESC_not_global_escape_in_scope, z); }
 
+  // Indicates if this pc descriptor is at a call site where objects that do not escape the
+  // current thread are passed as arguments.
   bool     arg_escape()                    const { return (_flags & PCDESC_arg_escape) != 0; }
   void set_arg_escape(bool z)                    { set_flag(PCDESC_arg_escape, z); }
 
   // Returns the real pc
   address real_pc(const CompiledMethod* code) const;
< prev index next >