RFR: JDK-8329564: [JVMCI] TranslatedException::debugPrintStackTrace does not work in the libjvmci compiler. [v3]

Tomáš Zezula duke at openjdk.org
Wed Apr 3 19:57:21 UTC 2024


> Problem:
> The debugging stack traces in `jdk.internal.vm.TranslatedException` do not work in libjvmci because they are enabled via the `jdk.internal.vm.TranslatedException.debug` system property. However, HotSpot system properties are not accessible via `System.getProperty()` in libjvmci.
> 
> Fix:
> The value of `jdk.internal.vm.TranslatedException.debug` is passed from the VM via a boolean flag to `VMSupport::decodeAndThrowThrowable()`.

Tomáš Zezula has updated the pull request incrementally with one additional commit since the last revision:

  JDK-8329564: Fixed vmSymbols.hpp formatting.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18591/files
  - new: https://git.openjdk.org/jdk/pull/18591/files/3a34ce27..de30637b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18591&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18591&range=01-02

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/18591.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18591/head:pull/18591

PR: https://git.openjdk.org/jdk/pull/18591


More information about the core-libs-dev mailing list