10 RFR(xs): 8177551: [TESTBUG] TestHumongousClassLoader.java can fail on systems with non-g1 collector.
stefan.johansson at oracle.com
Mon Mar 27 13:42:20 UTC 2017
Just a question, the @requires vm.gc.G1 will not prevent the test from
running on platforms not supporting it? It will just prevent it running
if another collector in specified?
On 2017-03-27 15:30, Dmitry Fazunenko wrote:
> your fix looks good.
> On 27.03.2017 15:57, Michail Chernov wrote:
>> Could I have a review for this small fix please?
>> TestHumongousClassLoader.java may cause to execute G1 specific code
>> with non-G1 collector. ClassLoaderGenerator should be executed with
>> explicitly defined -XX:+UseG1GC because it instantiates G1SampleClass
>> which has G1 specific WhiteBox methods.
More information about the hotspot-gc-dev