equal
deleted
inserted
replaced
24 |
24 |
25 #include "precompiled.hpp" |
25 #include "precompiled.hpp" |
26 #include "c1/c1_MacroAssembler.hpp" |
26 #include "c1/c1_MacroAssembler.hpp" |
27 #include "c1/c1_Runtime1.hpp" |
27 #include "c1/c1_Runtime1.hpp" |
28 #include "classfile/systemDictionary.hpp" |
28 #include "classfile/systemDictionary.hpp" |
|
29 #include "gc/shared/barrierSet.hpp" |
|
30 #include "gc/shared/barrierSetAssembler.hpp" |
29 #include "gc/shared/collectedHeap.hpp" |
31 #include "gc/shared/collectedHeap.hpp" |
30 #include "interpreter/interpreter.hpp" |
32 #include "interpreter/interpreter.hpp" |
31 #include "oops/arrayOop.hpp" |
33 #include "oops/arrayOop.hpp" |
32 #include "oops/markOop.hpp" |
34 #include "oops/markOop.hpp" |
33 #include "runtime/basicLock.hpp" |
35 #include "runtime/basicLock.hpp" |
328 if (UseSSE < 2 ) { |
330 if (UseSSE < 2 ) { |
329 empty_FPU_stack(); |
331 empty_FPU_stack(); |
330 } |
332 } |
331 #endif // TIERED |
333 #endif // TIERED |
332 decrement(rsp, frame_size_in_bytes); // does not emit code for frame_size == 0 |
334 decrement(rsp, frame_size_in_bytes); // does not emit code for frame_size == 0 |
|
335 |
|
336 BarrierSetAssembler* bs = BarrierSet::barrier_set()->barrier_set_assembler(); |
|
337 bs->nmethod_entry_barrier(this); |
333 } |
338 } |
334 |
339 |
335 |
340 |
336 void C1_MacroAssembler::remove_frame(int frame_size_in_bytes) { |
341 void C1_MacroAssembler::remove_frame(int frame_size_in_bytes) { |
337 increment(rsp, frame_size_in_bytes); // Does not emit code for frame_size == 0 |
342 increment(rsp, frame_size_in_bytes); // Does not emit code for frame_size == 0 |