RFR: 8261846: [JVMCI] c2v_iterateFrames can get out of sync with the StackFrameStream

Tom Rodriguez never at openjdk.java.net
Tue Feb 16 20:23:00 UTC 2021


c2v_iterateFrames mixes a StackFrameSteam and vframes and the vframe factory method can silently skip stub frames. The could leave the StackFrameStream out of sync with the vframe walk. This can cause the iteration fail in strange ways and assert in fastdebug builds.

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

Commit messages:
 - Keep StackFrameStream in sync with vframes

Changes: https://git.openjdk.java.net/jdk/pull/2594/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2594&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8261846
  Stats: 13 lines in 3 files changed: 9 ins; 0 del; 4 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2594.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2594/head:pull/2594

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


More information about the hotspot-dev mailing list