mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 09:34:38 +02:00
8207800: always_do_update_barrier is unused
Reviewed-by: shade, tschatzl
This commit is contained in:
parent
8b67b75f50
commit
51b0eab330
5 changed files with 0 additions and 10 deletions
|
@ -240,13 +240,11 @@ void CMSHeap::cms_process_roots(StrongRootsScope* scope,
|
|||
}
|
||||
|
||||
void CMSHeap::gc_prologue(bool full) {
|
||||
always_do_update_barrier = false;
|
||||
GenCollectedHeap::gc_prologue(full);
|
||||
};
|
||||
|
||||
void CMSHeap::gc_epilogue(bool full) {
|
||||
GenCollectedHeap::gc_epilogue(full);
|
||||
always_do_update_barrier = true;
|
||||
};
|
||||
|
||||
GrowableArray<GCMemoryManager*> CMSHeap::memory_managers() {
|
||||
|
|
|
@ -2517,7 +2517,6 @@ G1CollectedHeap* G1CollectedHeap::heap() {
|
|||
}
|
||||
|
||||
void G1CollectedHeap::gc_prologue(bool full) {
|
||||
// always_do_update_barrier = false;
|
||||
assert(InlineCacheBuffer::is_empty(), "should have cleaned up ICBuffer");
|
||||
|
||||
// This summary needs to be printed before incrementing total collections.
|
||||
|
@ -2551,7 +2550,6 @@ void G1CollectedHeap::gc_epilogue(bool full) {
|
|||
#if COMPILER2_OR_JVMCI
|
||||
assert(DerivedPointerTable::is_empty(), "derived pointer present");
|
||||
#endif
|
||||
// always_do_update_barrier = true;
|
||||
|
||||
double start = os::elapsedTime();
|
||||
resize_all_tlabs();
|
||||
|
|
|
@ -196,8 +196,6 @@ void GenArguments::initialize_heap_flags_and_sizes() {
|
|||
}
|
||||
}
|
||||
|
||||
always_do_update_barrier = UseConcMarkSweepGC;
|
||||
|
||||
DEBUG_ONLY(assert_flags();)
|
||||
}
|
||||
|
||||
|
|
|
@ -37,8 +37,6 @@
|
|||
#include "utilities/copy.hpp"
|
||||
#include "utilities/macros.hpp"
|
||||
|
||||
bool always_do_update_barrier = false;
|
||||
|
||||
void oopDesc::print_on(outputStream* st) const {
|
||||
klass()->oop_print_on(oop(this), st);
|
||||
}
|
||||
|
|
|
@ -40,8 +40,6 @@
|
|||
//
|
||||
// no virtual functions allowed
|
||||
|
||||
extern bool always_do_update_barrier;
|
||||
|
||||
// Forward declarations.
|
||||
class OopClosure;
|
||||
class ScanClosure;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue