mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-11 14:11:36 +00:00
8263861: Shenandoah: Remove unused member in ShenandoahGCStateResetter
Reviewed-by: shade
This commit is contained in:
parent
5262d95b12
commit
6c2220e65d
@ -43,8 +43,7 @@
|
||||
|
||||
ShenandoahGCStateResetter::ShenandoahGCStateResetter() :
|
||||
_heap(ShenandoahHeap::heap()),
|
||||
_gc_state(_heap->gc_state()),
|
||||
_concurrent_weak_root_in_progress(ShenandoahHeap::heap()->is_concurrent_weak_root_in_progress()) {
|
||||
_gc_state(_heap->gc_state()) {
|
||||
_heap->_gc_state.clear();
|
||||
}
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2019, 2020, Red Hat, Inc. All rights reserved.
|
||||
* Copyright (c) 2019, 2021, Red Hat, Inc. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -32,7 +32,6 @@ class ShenandoahGCStateResetter : public StackObj {
|
||||
private:
|
||||
ShenandoahHeap* const _heap;
|
||||
const char _gc_state;
|
||||
const bool _concurrent_weak_root_in_progress;
|
||||
|
||||
public:
|
||||
ShenandoahGCStateResetter();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user