# HG changeset patch # User Tom Rodriguez # Date 1391033105 28800 # Node ID 9a8e4dfae480e8f218fd796256f33bbccc6c9922 # Parent b42977294f02c8b94dbd9f1553b95c20fe8b6517 avoid profile pathology in CompressedOopTest diff -r b42977294f02 -r 9a8e4dfae480 graal/com.oracle.graal.hotspot.test/src/com/oracle/graal/hotspot/test/CompressedOopTest.java --- a/graal/com.oracle.graal.hotspot.test/src/com/oracle/graal/hotspot/test/CompressedOopTest.java Tue Jan 28 13:20:56 2014 -0800 +++ b/graal/com.oracle.graal.hotspot.test/src/com/oracle/graal/hotspot/test/CompressedOopTest.java Wed Jan 29 14:05:05 2014 -0800 @@ -198,6 +198,10 @@ } int j = 0; while (j < objects.length) { + if (!installedBenchmarkCode.isValid()) { + // This can get invalidated due to lack of MDO update + installedBenchmarkCode = getInstalledCode("queueTest"); + } installedBenchmarkCode.execute(q, objects[j], null); j++; }