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

Doug Simon dnsimon at openjdk.org
Wed Apr 3 20:07:59 UTC 2024


On Wed, 3 Apr 2024 19:57:21 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 vmSymbols.hpp formatting.

Marked as reviewed by dnsimon (Reviewer).

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

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


More information about the core-libs-dev mailing list