Mercurial > hg > graal-compiler
comparison src/share/vm/c1/c1_GraphBuilder.hpp @ 6843:c3e799c37717
7177003: C1: LogCompilation support
Summary: add LogCompilation support in C1 - both client and tiered mode.
Reviewed-by: twisti, kvn
author | vlivanov |
---|---|
date | Fri, 05 Oct 2012 18:57:10 -0700 |
parents | 7eca5de9e0b6 |
children | d804e148cff8 |
comparison
equal
deleted
inserted
replaced
6830:81e878c53615 | 6843:c3e799c37717 |
---|---|
29 #include "c1/c1_Instruction.hpp" | 29 #include "c1/c1_Instruction.hpp" |
30 #include "c1/c1_ValueMap.hpp" | 30 #include "c1/c1_ValueMap.hpp" |
31 #include "c1/c1_ValueStack.hpp" | 31 #include "c1/c1_ValueStack.hpp" |
32 #include "ci/ciMethodData.hpp" | 32 #include "ci/ciMethodData.hpp" |
33 #include "ci/ciStreams.hpp" | 33 #include "ci/ciStreams.hpp" |
34 #include "compiler/compileLog.hpp" | |
34 | 35 |
35 class MemoryBuffer; | 36 class MemoryBuffer; |
36 | 37 |
37 class GraphBuilder VALUE_OBJ_CLASS_SPEC { | 38 class GraphBuilder VALUE_OBJ_CLASS_SPEC { |
38 private: | 39 private: |
367 bool append_unsafe_put_raw(ciMethod* callee, BasicType t); | 368 bool append_unsafe_put_raw(ciMethod* callee, BasicType t); |
368 bool append_unsafe_prefetch(ciMethod* callee, bool is_store, bool is_static); | 369 bool append_unsafe_prefetch(ciMethod* callee, bool is_store, bool is_static); |
369 void append_unsafe_CAS(ciMethod* callee); | 370 void append_unsafe_CAS(ciMethod* callee); |
370 bool append_unsafe_get_and_set_obj(ciMethod* callee, bool is_add); | 371 bool append_unsafe_get_and_set_obj(ciMethod* callee, bool is_add); |
371 | 372 |
372 void print_inlining(ciMethod* callee, const char* msg, bool success = true); | 373 void print_inlining(ciMethod* callee, const char* msg = NULL, bool success = true); |
373 | 374 |
374 void profile_call(ciMethod* callee, Value recv, ciKlass* predicted_holder); | 375 void profile_call(ciMethod* callee, Value recv, ciKlass* predicted_holder); |
375 void profile_invocation(ciMethod* inlinee, ValueStack* state); | 376 void profile_invocation(ciMethod* inlinee, ValueStack* state); |
376 | 377 |
377 // Shortcuts to profiling control. | 378 // Shortcuts to profiling control. |