mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8139293: TestGCEventMixedWithG1ConcurrentMark.java fails after JDK-8134953
Reviewed-by: ecaspole, jwilhelm
This commit is contained in:
parent
aeffdfc249
commit
b266f13f2c
4 changed files with 11 additions and 1 deletions
|
@ -60,6 +60,11 @@ GCIdMark::~GCIdMark() {
|
|||
}
|
||||
|
||||
GCIdMarkAndRestore::GCIdMarkAndRestore() : _gc_id(GCId::create()) {
|
||||
_previous_gc_id = GCId::current(); // will assert that the GC Id is not undefined
|
||||
currentNamedthread()->set_gc_id(_gc_id);
|
||||
}
|
||||
|
||||
GCIdMarkAndRestore::GCIdMarkAndRestore(uint gc_id) : _gc_id(gc_id) {
|
||||
_previous_gc_id = GCId::current(); // will assert that the GC Id is not undefinied
|
||||
currentNamedthread()->set_gc_id(_gc_id);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue