RFR: 8264359: Compiler directives should enable DebugNonSafepoints when PrintAssembly is requested

Nils Eliasson neliasso at openjdk.java.net
Thu Apr 1 21:13:37 UTC 2021

DebugNonSafepoints should be set when PrintAssembly is requested. This only happened for compile commands but not for compiler directives. This PR moves the check to compiler directives - that code path is used for both directives and commands. I am leaving the check and update in arguments.cpp - there might be some need for using flag PrintAssembly for stubs or wrappers, in a code path that doesn't use commands or directives.


Commit messages:
 - Remove update from compilerOracle
 - enable DebugNonSafepoints when directives sets printasm

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

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

More information about the hotspot-compiler-dev mailing list