JDK-8134963 : [Newtest][TEST_BUG] New stress test for changing the coarseness level of G1 remembered set
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-09-02
  • Updated: 2016-07-21
  • Resolved: 2016-01-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u101Fixed 9 b107Fixed
Related Reports
Relates :  
Relates :  
Description
Remembered Set is one of the key constructs of G1, it keeps knowledge about cross region references.

Idea of a test checking that Remembered Set works good when growing up and down:

int[] crossRefs = {0, 100, 10, 200, 50, 300, 0};
for (int refN: crossRefs) {
    for (x: G1Regs) {
        for (y: G1Regs) {
            // set refN references from region X to region Y
            WB.concMarkCycle();
        }
    }
}


Comments
http://cr.openjdk.java.net/~dfazunen/8134963/webrev.02/
17-11-2015