Skip to content

Commit 7f9b5d9

Browse files
committedSep 16, 2020
8253220: Epsilon: clean up unused code/declarations
Reviewed-by: tschatzl
1 parent e0cf023 commit 7f9b5d9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
 

‎src/hotspot/share/gc/epsilon/epsilonBarrierSet.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ EpsilonBarrierSet::EpsilonBarrierSet() : BarrierSet(
4141
make_barrier_set_c1<BarrierSetC1>(),
4242
make_barrier_set_c2<BarrierSetC2>(),
4343
NULL /* barrier_set_nmethod */,
44-
BarrierSet::FakeRtti(BarrierSet::EpsilonBarrierSet)) {};
44+
BarrierSet::FakeRtti(BarrierSet::EpsilonBarrierSet)) {}
4545

4646
void EpsilonBarrierSet::on_thread_create(Thread *thread) {
4747
EpsilonThreadLocalData::create(thread);

‎src/hotspot/share/gc/epsilon/epsilonHeap.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ jint EpsilonHeap::initialize() {
4646
_virtual_space.initialize(heap_rs, init_byte_size);
4747

4848
MemRegion committed_region((HeapWord*)_virtual_space.low(), (HeapWord*)_virtual_space.high());
49-
MemRegion reserved_region((HeapWord*)_virtual_space.low_boundary(), (HeapWord*)_virtual_space.high_boundary());
5049

5150
initialize_reserved_region(heap_rs);
5251

0 commit comments

Comments
 (0)
Please sign in to comment.