diff --git a/src/hotspot/share/opto/compile.hpp b/src/hotspot/share/opto/compile.hpp index ad98e6b..9bc9325 100644 --- a/src/hotspot/share/opto/compile.hpp +++ b/src/hotspot/share/opto/compile.hpp @@ -359,6 +359,9 @@ class Compile : public Phase { const char* _stub_name; // Name of stub or adapter being compiled, or NULL address _stub_entry_point; // Compile code entry for generated stub, or NULL + // For GC + void* _barrier_set_state; + // Control of this compilation. int _num_loop_opts; // Number of iterations for doing loop optimiztions int _max_inline_size; // Max inline size for this compilation @@ -530,6 +533,8 @@ class Compile : public Phase { public: + void* barrier_set_state() const { return _barrier_set_state; } + outputStream* print_inlining_stream() const { assert(print_inlining() || print_intrinsics(), "PrintInlining off?"); return _print_inlining_stream; @@ -1349,7 +1354,6 @@ class Compile : public Phase { // supporting clone_map CloneMap& clone_map(); void set_clone_map(Dict* d); - }; #endif // SHARE_VM_OPTO_COMPILE_HPP