RFR: 8309808: BytecodeTracer prints wrong BSM for invokedynamic

Coleen Phillimore coleenp at openjdk.org
Wed Jun 14 17:57:56 UTC 2023


On Mon, 12 Jun 2023 21:56:30 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> 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.

Ok, looks good to me.

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

Marked as reviewed by coleenp (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/14429#pullrequestreview-1480015574


More information about the hotspot-dev mailing list