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

Doug Simon dnsimon at openjdk.org
Wed Apr 3 15:39:59 UTC 2024


On Wed, 3 Apr 2024 13:58:23 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()`.
>
> Tomáš Zezula has updated the pull request incrementally with one additional commit since the last revision:
> 
>   JDK-8329564: Fixed TestTranslatedException tests.

Marked as reviewed by dnsimon (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/18591#pullrequestreview-1977216173


More information about the core-libs-dev mailing list