src/share/vm/ci/ciEnv.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Cdiff src/share/vm/ci/ciEnv.hpp

src/share/vm/ci/ciEnv.hpp

Print this page
rev 9003 : 8137167: JEP165: Compiler Control: Implementation task
Summary:
Reviewed-by:

*** 30,42 **** --- 30,44 ---- #include "classfile/systemDictionary.hpp" #include "code/debugInfoRec.hpp" #include "code/dependencies.hpp" #include "code/exceptionHandlerTable.hpp" #include "compiler/oopMap.hpp" + #include "compiler/compilerDirectives.hpp" #include "runtime/thread.hpp" class CompileTask; + class DirectiveSet; // ciEnv // // This class is the top level broker for requests from the compiler // to the VM.
*** 54,64 **** OopRecorder* _oop_recorder; DebugInformationRecorder* _debug_info; Dependencies* _dependencies; const char* _failure_reason; int _compilable; - bool _break_at_compile; int _num_inlined_bytecodes; CompileTask* _task; // faster access to CompilerThread::task CompileLog* _log; // faster access to CompilerThread::log void* _compiler_data; // compiler-specific stuff, if any --- 56,65 ----
*** 330,342 **** ShouldNotReachHere(); return NULL; } } - bool break_at_compile() { return _break_at_compile; } - void set_break_at_compile(bool z) { _break_at_compile = z; } - // Cache Jvmti state void cache_jvmti_state(); bool jvmti_state_changed() const; bool should_retain_local_variables() const; bool jvmti_can_hotswap_or_post_breakpoint() const { return _jvmti_can_hotswap_or_post_breakpoint; } --- 331,340 ----
*** 350,359 **** --- 348,358 ---- bool dtrace_alloc_probes() const { return _dtrace_alloc_probes; } // The compiler task which has created this env. // May be useful to find out compile_id, comp_level, etc. CompileTask* task() { return _task; } + // Handy forwards to the task: int comp_level(); // task()->comp_level() uint compile_id(); // task()->compile_id() // Register the result of a compilation.
*** 365,377 **** int frame_words, OopMapSet* oop_map_set, ExceptionHandlerTable* handler_table, ImplicitExceptionTable* inc_table, AbstractCompiler* compiler, - int comp_level, bool has_unsafe_access, bool has_wide_vectors, RTMState rtm_state = NoRTM); // Access to certain well known ciObjects. #define WK_KLASS_FUNC(name, ignore_s, ignore_o) \ --- 364,376 ---- int frame_words, OopMapSet* oop_map_set, ExceptionHandlerTable* handler_table, ImplicitExceptionTable* inc_table, AbstractCompiler* compiler, bool has_unsafe_access, bool has_wide_vectors, + DirectiveSet* dirset, RTMState rtm_state = NoRTM); // Access to certain well known ciObjects. #define WK_KLASS_FUNC(name, ignore_s, ignore_o) \
*** 462,469 **** --- 461,473 ---- void dump_replay_data(int compile_id); void dump_inline_data(int compile_id); void dump_replay_data(outputStream* out); void dump_replay_data_unsafe(outputStream* out); void dump_compile_data(outputStream* out); + + // Compilation directives + bool should_inline(ciMethod* inlinee); + bool should_not_inline(ciMethod* inlinee); + }; #endif // SHARE_VM_CI_CIENV_HPP
src/share/vm/ci/ciEnv.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File