RFR: 8309808: BytecodeTracer prints wrong BSM for invokedynamic [v2]

Ioi Lam iklam at openjdk.org
Wed Jun 14 18:18:12 UTC 2023


> This PR fixes the tracing of invokedynamic bytecodes:
> 
> 
> before: 0x00007f3aa8400385  5 invokedynamic 1 <java/lang/Object.<init>()V>
> after:  0x00007f9bcc4056a5  5 invokedynamic bsm=37 13 <makeConcatWithConstants(I)Ljava/lang/String;>
> 
> 
> I've also added WhiteBox functionality to make it easy to write new tests for the BytecodeTracer.

Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:

  code clean up

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14429/files
  - new: https://git.openjdk.org/jdk/pull/14429/files/5a173e59..a5d2dcd6

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14429&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14429&range=00-01

  Stats: 3 lines in 1 file changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/14429.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14429/head:pull/14429

PR: https://git.openjdk.org/jdk/pull/14429


More information about the hotspot-dev mailing list