RFR: 8263403: [JVMCI] output written to tty via HotSpotJVMCIRuntime can be garbled

Doug Simon dnsimon at openjdk.java.net
Thu Mar 11 21:00:07 UTC 2021


On Thu, 11 Mar 2021 16:36:25 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> The HotSpotJVMCIRuntime.writeDebugOutput0 method introduced in JDK-8262011 uses the HotSpot value of Unsafe.ARRAY_BYTE_BASE_OFFSET which is incorrect in the context of libgraal where the SVM value should be used instead. This results in garbled output being written to tty.
>
> Okay.

Thanks @vnkozlov and @tkrodriguez for the reviews.

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

PR: https://git.openjdk.java.net/jdk/pull/2928


More information about the hotspot-compiler-dev mailing list