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

Tomáš Zezula duke at openjdk.org
Wed Apr 3 20:14:11 UTC 2024


On Wed, 3 Apr 2024 07:02:31 GMT, Tomáš Zezula <duke at openjdk.org> wrote:

> 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()`.

This pull request has now been integrated.

Changeset: 8267d656
Author:    Tomas Zezula <tzezula at openjdk.org>
Committer: Doug Simon <dnsimon at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/8267d6565d17c8db8f5b50a37482610ffe0a8a5c
Stats:     32 lines in 5 files changed: 8 ins; 1 del; 23 mod

8329564: [JVMCI] TranslatedException::debugPrintStackTrace does not work in the libjvmci compiler.

Reviewed-by: dnsimon

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

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


More information about the core-libs-dev mailing list