RFR (XXS): 6771058: TEST_BUG: java/lang/ref/Basic.java may fail with -server -Xcomp (original) (raw)
Christian Thalinger christian.thalinger at oracle.com
Thu Oct 18 23:24:33 UTC 2012
- Previous message: RFR (XXS): 6771058: TEST_BUG: java/lang/ref/Basic.java may fail with -server -Xcomp
- Next message: RFR (XXS): 6771058: TEST_BUG: java/lang/ref/Basic.java may fail with -server -Xcomp
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Oct 18, 2012, at 4:04 PM, Mandy Chung <mandy.chung at oracle.com> wrote:
On 10/18/2012 3:37 PM, Christian Thalinger wrote:
Just curious - the test runs with a max of 10 GCs. You reproduced this bug on a slower machine with fastdebug build. If you increase the max number of GCs, I wonder how long the test will take to complete/pass? Around 14 GCs (runtime with -Xcomp approximately 40 seconds on that particular machine). Would increasing the max to 20 fix this bug? I don't have a strong objection to call System.runFinalization. As I don't know what behavior the test wants to cover, adjusting the number of max GC invocations seems a good alternative.
I have no idea either. It's a very old test from Mark. I would be fine with increasing the GC count but for even slower machines (VMs) it might not be enough.
-- Chris
Mandy
- Previous message: RFR (XXS): 6771058: TEST_BUG: java/lang/ref/Basic.java may fail with -server -Xcomp
- Next message: RFR (XXS): 6771058: TEST_BUG: java/lang/ref/Basic.java may fail with -server -Xcomp
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]