RFR: JDK-8139293: TestGCEventMixedWithG1ConcurrentMark.java fails after JDK-8134953

Eric Caspole eric.caspole at oracle.com
Fri Oct 9 16:37:55 UTC 2015


Hi Bengt, just a couple things:

gcId.cpp:
   68   _previous_gc_id = GCId::current(); // will assert that the GC Id 
is not undefinied

is misspelled ;)


concurrentMarkThread.cpp:
  112     assert(GCId::current() != GCId::undefined(), "GC id should 
have been set up in G1CollectedHeap::register_concurrent_cycle_start");

Given our massive frequent refactoring I wonder if this very specific 
assert text going to be accidentally stale in 6 months? It's up to you.

Otherwise looks good.
Eric


On 10/09/2015 11:35 AM, Bengt Rutisson wrote:
>
> Hi everyone,
>
> Could I have a couple of reviews for this fix for a nightly failure?
>
> http://cr.openjdk.java.net/~brutisso/8139293/webrev.00/
> https://bugs.openjdk.java.net/browse/JDK-8139293
>
> G1 young GCs initiate the concurrent marking cycle. Events sent to
> indicate the concurrent cycle start should use the concurrent thread's
> GC id not the young GC thread's id.
>
> Thanks,
> Bengt



More information about the hotspot-gc-dev mailing list