RFR: 8253964: [Graal] UnschedulableGraphTest#test01fails with expected:<4> but was:<3>

David Leopoldseder davleopo at openjdk.java.net
Tue Oct 20 08:19:21 UTC 2020


This PR fixes a Graal unit test failure in the presence of -Xcomp. The assertion in the test fails with -Xcomp as
RemoveNeverExecutedCode triggers since we dont have proper profiles with Xcomp there.

The fix is already tested and integrated in tip graal
https://github.com/oracle/graal/commit/287dbdf63ec3bfcce74e910d66c21dccf8e9cc46 .

-------------

Commit messages:
 - 8253964: [Graal] unschedulable graph test: avoid optimistic opts to run correctly in the presence of -Xcomp.

Changes: https://git.openjdk.java.net/jdk/pull/756/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=756&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8253964
  Stats: 11 lines in 1 file changed: 11 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/756.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/756/head:pull/756

PR: https://git.openjdk.java.net/jdk/pull/756


More information about the hotspot-compiler-dev mailing list