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

Doug Simon dnsimon at openjdk.java.net
Wed Mar 10 23:22:20 UTC 2021


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.

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

Commit messages:
 - 8263403: [JVMCI] output written to tty via HotSpotJVMCIRuntime can be garbled

Changes: https://git.openjdk.java.net/jdk/pull/2928/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2928&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8263403
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2928.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2928/head:pull/2928

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


More information about the hotspot-compiler-dev mailing list