|
23 | 23 | */
|
24 | 24 |
|
25 | 25 | #include "precompiled.hpp"
|
26 |
| -#include "gc/shenandoah/shenandoahAsserts.hpp" |
27 |
| -#include "gc/shenandoah/shenandoahClosures.inline.hpp" |
28 | 26 | #include "gc/shenandoah/shenandoahBarrierSet.hpp"
|
29 | 27 | #include "gc/shenandoah/shenandoahBarrierSetClone.inline.hpp"
|
30 | 28 | #include "gc/shenandoah/shenandoahBarrierSetAssembler.hpp"
|
31 | 29 | #include "gc/shenandoah/shenandoahBarrierSetNMethod.hpp"
|
| 30 | +#include "gc/shenandoah/shenandoahClosures.inline.hpp" |
32 | 31 | #include "gc/shenandoah/shenandoahHeap.inline.hpp"
|
33 | 32 | #include "gc/shenandoah/shenandoahStackWatermark.hpp"
|
34 |
| -#include "memory/iterator.inline.hpp" |
35 |
| -#include "runtime/interfaceSupport.inline.hpp" |
36 | 33 | #ifdef COMPILER1
|
37 | 34 | #include "gc/shenandoah/c1/shenandoahBarrierSetC1.hpp"
|
38 | 35 | #endif
|
@@ -64,21 +61,13 @@ void ShenandoahBarrierSet::print_on(outputStream* st) const {
|
64 | 61 | st->print("ShenandoahBarrierSet");
|
65 | 62 | }
|
66 | 63 |
|
67 |
| -bool ShenandoahBarrierSet::is_a(BarrierSet::Name bsn) { |
68 |
| - return bsn == BarrierSet::ShenandoahBarrierSet; |
69 |
| -} |
70 |
| - |
71 |
| -bool ShenandoahBarrierSet::is_aligned(HeapWord* hw) { |
72 |
| - return true; |
73 |
| -} |
74 |
| - |
75 | 64 | bool ShenandoahBarrierSet::need_load_reference_barrier(DecoratorSet decorators, BasicType type) {
|
76 | 65 | if (!ShenandoahLoadRefBarrier) return false;
|
77 | 66 | // Only needed for references
|
78 | 67 | return is_reference_type(type);
|
79 | 68 | }
|
80 | 69 |
|
81 |
| -bool ShenandoahBarrierSet::need_keep_alive_barrier(DecoratorSet decorators,BasicType type) { |
| 70 | +bool ShenandoahBarrierSet::need_keep_alive_barrier(DecoratorSet decorators, BasicType type) { |
82 | 71 | if (!ShenandoahSATBBarrier) return false;
|
83 | 72 | // Only needed for references
|
84 | 73 | if (!is_reference_type(type)) return false;
|
|
0 commit comments