[lworld] FYI: 8245019: [lworld] SIGSEGV in BufferBlob::buffered value type due to instruction memory corruption

Tobias Hartmann thartmann at openjdk.java.net
Wed May 20 11:24:55 UTC 2020


The layout of BufferedValueTypeBlob is incorrectly computed (sizeof(BufferBlob) instead of
sizeof(BufferedValueTypeBlob)) and as a result, the instructions at the start of the blob are overwritten by the C++
object header. This only happens with a product build, I assume with a debug build there is some additional padding.

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

Commit messages:
 - 8245019:[lworld] SIGSEGV in BufferBlob::buffered value type due to instruction memory corruption

Changes: https://git.openjdk.java.net/valhalla/pull/52/files
 Webrev: https://webrevs.openjdk.java.net/valhalla/52/webrev.00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8245019
  Stats: 5 lines in 2 files changed: 0 ins; 0 del; 5 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/52.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/52/head:pull/52

PR: https://git.openjdk.java.net/valhalla/pull/52


More information about the valhalla-dev mailing list