equal
deleted
inserted
replaced
24 |
24 |
25 #include "precompiled.hpp" |
25 #include "precompiled.hpp" |
26 #include "gc/shared/collectedHeap.hpp" |
26 #include "gc/shared/collectedHeap.hpp" |
27 #include "interpreter/interp_masm.hpp" |
27 #include "interpreter/interp_masm.hpp" |
28 #include "interpreter/templateTable.hpp" |
28 #include "interpreter/templateTable.hpp" |
29 #include "runtime/timer.hpp" |
29 #include "runtime/logTimer.hpp" |
30 |
|
31 |
30 |
32 #ifdef CC_INTERP |
31 #ifdef CC_INTERP |
33 |
32 |
34 void templateTable_init() { |
33 void templateTable_init() { |
35 } |
34 } |
244 |
243 |
245 void TemplateTable::initialize() { |
244 void TemplateTable::initialize() { |
246 if (_is_initialized) return; |
245 if (_is_initialized) return; |
247 |
246 |
248 // Initialize table |
247 // Initialize table |
249 TraceTime timer("TemplateTable initialization", TraceStartupTime); |
248 TraceStartupTime timer("TemplateTable initialization"); |
250 |
249 |
251 _bs = Universe::heap()->barrier_set(); |
250 _bs = Universe::heap()->barrier_set(); |
252 |
251 |
253 // For better readability |
252 // For better readability |
254 const char _ = ' '; |
253 const char _ = ' '; |