8268350: Remove assert that ensures thread identifier remains the same
Reviewed-by: tschatzl, kbarrett
This commit is contained in:
parent
90eb1189ae
commit
6b64a7956c
src/hotspot/share/gc
test/hotspot/jtreg/gc/arguments
@ -87,7 +87,7 @@ void ParallelArguments::initialize() {
|
||||
}
|
||||
|
||||
if (FLAG_IS_DEFAULT(ParallelRefProcEnabled) && ParallelGCThreads > 1) {
|
||||
//FLAG_SET_DEFAULT(ParallelRefProcEnabled, true);
|
||||
FLAG_SET_DEFAULT(ParallelRefProcEnabled, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -71,12 +71,7 @@ class PromotionFailedInfo : public CopyFailedInfo {
|
||||
|
||||
void register_copy_failure(size_t size) {
|
||||
CopyFailedInfo::register_copy_failure(size);
|
||||
if (_thread_trace_id == 0) {
|
||||
_thread_trace_id = JFR_THREAD_ID(Thread::current());
|
||||
} else {
|
||||
assert(JFR_THREAD_ID(Thread::current()) == _thread_trace_id,
|
||||
"The PromotionFailedInfo should be thread local.");
|
||||
}
|
||||
_thread_trace_id = JFR_THREAD_ID(Thread::current());
|
||||
}
|
||||
|
||||
void reset() {
|
||||
|
@ -51,7 +51,7 @@ public class TestParallelRefProc {
|
||||
}
|
||||
if (GC.Parallel.isSupported()) {
|
||||
noneGCSupported = false;
|
||||
testFlag(new String[] { "-XX:+UseParallelGC" }, false);
|
||||
testFlag(new String[] { "-XX:+UseParallelGC" }, true);
|
||||
}
|
||||
if (GC.G1.isSupported()) {
|
||||
noneGCSupported = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user