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

Tomáš Zezula duke at openjdk.org
Wed Apr 3 13:58:23 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 TestTranslatedException tests.

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

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

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

  Stats: 7 lines in 1 file changed: 0 ins; 0 del; 7 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