RFR: 8273333: Zero should warn about unimplemented -XX:+LogTouchedMethods

Aleksey Shipilev shade at openjdk.java.net
Fri Sep 3 15:36:39 UTC 2021


Currently Zero VM does not implement -XX:+LogTouchedMethods runtime features, which makes `runtime/CommandLine/PrintTouchedMethods.java` tier1 test fail with it.

Instead of implementing it (risking performance and rare bugs), Zero should just reject the option. 

Additional testing:
 - [x] Eyeballing failure message
 - [x] Affected test does not run with Zero anymore
 - [x] Affected test still runs with Server

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

Commit messages:
 - Implement

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

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


More information about the hotspot-runtime-dev mailing list