--- old/src/share/vm/ci/ciEnv.hpp 2016-01-21 11:16:26.129288191 +0100 +++ new/src/share/vm/ci/ciEnv.hpp 2016-01-21 11:16:25.985288185 +0100 @@ -63,6 +63,7 @@ CompileTask* _task; // faster access to CompilerThread::task CompileLog* _log; // faster access to CompilerThread::log void* _compiler_data; // compiler-specific stuff, if any + DirectiveSet* _directive; char* _name_buffer; int _name_buffer_len; @@ -296,7 +297,7 @@ MethodCompilable_never }; - ciEnv(CompileTask* task, int system_dictionary_modification_counter); + ciEnv(CompileTask* task, int system_dictionary_modification_counter, DirectiveSet* set); // Used only during initialization of the ci ciEnv(Arena* arena); ~ciEnv(); @@ -354,6 +355,7 @@ // The compiler task which has created this env. // May be useful to find out compile_id, comp_level, etc. CompileTask* task() { return _task; } + DirectiveSet* directive() { return _directive; } // Handy forwards to the task: int comp_level(); // task()->comp_level()