RFR: 8134963 [Newtests] New tests for G1 remembered set up and down
dmitry.fazunenko at oracle.com
Wed Dec 30 16:43:22 UTC 2015
An updated version of the stress test for Remembered Set:
Tested in RBT in many configurations.
Many thanks to Thomas for his offline comments.
Happy New Year!
On 13.11.2015 20:31, Dmitry Fazunenko wrote:
> I was noticed that this is a stress test and should be properly marked
> with "@key stress"
> The test was also moved from test/gc/g1/ to tests/stress/gc.
> New webrev: http://cr.openjdk.java.net/~dfazunen/8134963/webrev.02/
> If you are interested in how an output from the test will look like:
> %% Memory
> %% used : 2M
> %% available : 2045M
> %% to allocate : 1840M
> %% G1 Region Size: 1M
> %% Objects:
> %% Number of objects: 18400
> %% objects in region: 10
> %% N (array length) : 26210
> %% Reference size : 4
> %% Approximate size : 104840(102K)
> %% Reference number : 1840
> %% Execution:
> %% Number of iterations: 15
> %% Time spent: 10seconds
> %% Free memory left: 195M
> %% Test passed
> On 13.11.2015 18:15, Dmitry Fazunenko wrote:
>> Hi everyone,
>> Can I have a couple of reviews for the new test for G1 Remembered Set:
>> The test creates a lot of cross region references (making RSet to
>> grow up) and then clear that references up.
>> The test doesn't check any particular assertions, it just expects
>> that there will be no crash.
More information about the hotspot-gc-dev