Skip to content
Permalink
Browse files
8263861: Shenandoah: Remove unused member in ShenandoahGCStateResetter
Reviewed-by: shade
  • Loading branch information
zhengyu123 committed Mar 22, 2021
1 parent 5262d95 commit 6c2220e65d699abace4c4a2bedc402afda0ee670
Showing 2 changed files with 2 additions and 4 deletions.
@@ -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();

1 comment on commit 6c2220e

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 6c2220e Mar 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.