< prev index next >
src/hotspot/share/code/pcDesc.hpp
Print this page
rev 56101 : 8227745: Enable Escape Analysis for better performance when debugging
Reviewed-by: ???
@@ -40,11 +40,13 @@
enum {
PCDESC_reexecute = 1 << 0,
PCDESC_is_method_handle_invoke = 1 << 1,
PCDESC_return_oop = 1 << 2,
- PCDESC_rethrow_exception = 1 << 3
+ PCDESC_rethrow_exception = 1 << 3,
+ PCDESC_not_global_escape_in_scope = 1 << 4,
+ PCDESC_arg_escape = 1 << 5
};
int _flags;
void set_flag(int mask, bool z) {
@@ -87,10 +89,16 @@
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); }
+ 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); }
+
+ 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;
void print(CompiledMethod* code) { print_on(tty, code); }
void print_on(outputStream* st, CompiledMethod* code);
< prev index next >