equal
deleted
inserted
replaced
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
24 |
24 |
25 #include "precompiled.hpp" |
25 #include "precompiled.hpp" |
26 #include "gc/shared/collectedHeap.hpp" |
26 #include "gc/shared/barrierSet.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/timerTrace.hpp" |
29 #include "runtime/timerTrace.hpp" |
30 |
30 |
31 #ifdef CC_INTERP |
31 #ifdef CC_INTERP |
245 if (_is_initialized) return; |
245 if (_is_initialized) return; |
246 |
246 |
247 // Initialize table |
247 // Initialize table |
248 TraceTime timer("TemplateTable initialization", TRACETIME_LOG(Info, startuptime)); |
248 TraceTime timer("TemplateTable initialization", TRACETIME_LOG(Info, startuptime)); |
249 |
249 |
250 _bs = Universe::heap()->barrier_set(); |
250 _bs = BarrierSet::barrier_set(); |
251 |
251 |
252 // For better readability |
252 // For better readability |
253 const char _ = ' '; |
253 const char _ = ' '; |
254 const int ____ = 0; |
254 const int ____ = 0; |
255 const int ubcp = 1 << Template::uses_bcp_bit; |
255 const int ubcp = 1 << Template::uses_bcp_bit; |