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

Vladimir Kozlov kvn at openjdk.java.net
Thu Mar 11 16:39:15 UTC 2021


On Wed, 10 Mar 2021 23:16:59 GMT, Doug Simon <dnsimon 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.

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

Marked as reviewed by kvn (Reviewer).

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


More information about the hotspot-compiler-dev mailing list