Problem: The debugging stack traces in the `jdk.internal.vm.TranslatedException` do not work in the libjvmci compiler becuase they are enabled using the system property `jdk.internal.vm.TranslatedException.debug`. However, the libjvmci compiler does not copy HotSpot VM system properties. Instead, the HotSpot system properties are copied only into properties returned by `Services::getSavedProperties()`.
Fix: A debug boolean flag is passed to the `VMSupport::decodeAndThrowThrowable()` method. ------------- Commit messages: - JDK-8329564: jdk.internal.vm.TranslatedException::debugPrintStackTrace does not work in the libjvmci compiler. Changes: https://git.openjdk.org/jdk/pull/18591/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18591&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8329564 Stats: 25 lines in 4 files changed: 8 ins; 1 del; 16 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