Running #1 and #2 when Graal is enabled is fine.
For the second @test, does it need @bug and @summary to run? If not, I
suggest to take it out as it's already mentioned in the first @test.
On 3/6/18 1:45 PM, Ekaterina Pavlova wrote:
java/lang/StackWalker/LocalsAndOperands.java runs LocalsAndOperands 3
times with following set of jvm flags:
1) -Xint -DtestUnused=true
3) -Xcomp -XX:-TieredCompilation
When running with Graal as JIT (-XX:+TieredCompilation
3rd scenario could take more than 10 minutes and the test could fail
Actually running LocalsAndOperands with Graal and with "-Xcomp
-XX:-TieredCompilation" doesn't provide
big benefit and it would be reasonable to disable this scenario in
case Graal is enabled.
Please review the change.
testing: Tested by running the test in Graal as JIT mode.
Igor Ignatyev volunteered to sponsor this change.