28 #include "c1/c1_LIRAssembler.hpp" |
28 #include "c1/c1_LIRAssembler.hpp" |
29 #include "c1/c1_MacroAssembler.hpp" |
29 #include "c1/c1_MacroAssembler.hpp" |
30 #include "c1/c1_Runtime1.hpp" |
30 #include "c1/c1_Runtime1.hpp" |
31 #include "nativeInst_x86.hpp" |
31 #include "nativeInst_x86.hpp" |
32 #include "runtime/sharedRuntime.hpp" |
32 #include "runtime/sharedRuntime.hpp" |
|
33 #include "utilities/macros.hpp" |
33 #include "vmreg_x86.inline.hpp" |
34 #include "vmreg_x86.inline.hpp" |
34 #ifndef SERIALGC |
35 #if INCLUDE_ALL_GCS |
35 #include "gc_implementation/g1/g1SATBCardTableModRefBS.hpp" |
36 #include "gc_implementation/g1/g1SATBCardTableModRefBS.hpp" |
36 #endif |
37 #endif // INCLUDE_ALL_GCS |
37 |
38 |
38 |
39 |
39 #define __ ce->masm()-> |
40 #define __ ce->masm()-> |
40 |
41 |
41 float ConversionStub::float_zero = 0.0; |
42 float ConversionStub::float_zero = 0.0; |
480 |
481 |
481 __ jmp(_continuation); |
482 __ jmp(_continuation); |
482 } |
483 } |
483 |
484 |
484 ///////////////////////////////////////////////////////////////////////////// |
485 ///////////////////////////////////////////////////////////////////////////// |
485 #ifndef SERIALGC |
486 #if INCLUDE_ALL_GCS |
486 |
487 |
487 void G1PreBarrierStub::emit_code(LIR_Assembler* ce) { |
488 void G1PreBarrierStub::emit_code(LIR_Assembler* ce) { |
488 // At this point we know that marking is in progress. |
489 // At this point we know that marking is in progress. |
489 // If do_load() is true then we have to emit the |
490 // If do_load() is true then we have to emit the |
490 // load of the previous value; otherwise it has already |
491 // load of the previous value; otherwise it has already |
526 ce->store_parameter(addr()->as_pointer_register(), 0); |
527 ce->store_parameter(addr()->as_pointer_register(), 0); |
527 __ call(RuntimeAddress(Runtime1::entry_for(Runtime1::g1_post_barrier_slow_id))); |
528 __ call(RuntimeAddress(Runtime1::entry_for(Runtime1::g1_post_barrier_slow_id))); |
528 __ jmp(_continuation); |
529 __ jmp(_continuation); |
529 } |
530 } |
530 |
531 |
531 #endif // SERIALGC |
532 #endif // INCLUDE_ALL_GCS |
532 ///////////////////////////////////////////////////////////////////////////// |
533 ///////////////////////////////////////////////////////////////////////////// |
533 |
534 |
534 #undef __ |
535 #undef __ |