[13] RFR(S): 8217447: Develop flag TraceICs is broken

Tobias Hartmann tobias.hartmann at oracle.com
Mon Jan 21 13:02:28 UTC 2019


Hi,

please review the following patch:
https://bugs.openjdk.java.net/browse/JDK-8217447
http://cr.openjdk.java.net/~thartmann/8217447/webrev.00/

While working on the value type calling convention, I've noticed that -XX:+TraceICs is broken. The
problem is that info.cached_metadata() can be NULL for optimized calls (the assert right before even
verifies that).

I've also removed the ":" from the output.

Before:
IC at 0x00007f8020ae948b: monomorphic to compiled (rcvr klass) NULL:

After:
IC at 0x00007f8020ae948b: monomorphic to compiled (rcvr klass = NULL)

Thanks,
Tobias


More information about the hotspot-compiler-dev mailing list