-
Enhancement
-
Resolution: Fixed
-
P4
-
10
-
b34
Currently, LogCompilation shows the log like this:
$ java -jar ./open/src/utils/LogCompilation/logc.jar hotspot_pid19693.log
1 java.lang.StringLatin1::hashCode (unknown bytes)
4 jdk.internal.misc.Unsafe::getObjectAcquire (unknown bytes)
3 java.util.concurrent.ConcurrentHashMap::tabAt (unknown bytes)
But currently the bytes size is available in the log line:
<task_queued compile_id='1' method='java.lang.StringLatin1 hashCode ([B)I' bytes='42' count='100' backedge_count='2048' iicount='100' level='3' stamp='0.049' comment='tiered' hot_count='100'/>
So it could be:
$ java -jar ./open/src/utils/LogCompilation/logc.jar hotspot_pid19693.log
1 java.lang.StringLatin1::hashCode (42 bytes)
4 jdk.internal.misc.Unsafe::getObjectAcquire (7 bytes)
3 java.util.concurrent.ConcurrentHashMap::tabAt (22 bytes)
$ java -jar ./open/src/utils/LogCompilation/logc.jar hotspot_pid19693.log
1 java.lang.StringLatin1::hashCode (unknown bytes)
4 jdk.internal.misc.Unsafe::getObjectAcquire (unknown bytes)
3 java.util.concurrent.ConcurrentHashMap::tabAt (unknown bytes)
But currently the bytes size is available in the log line:
<task_queued compile_id='1' method='java.lang.StringLatin1 hashCode ([B)I' bytes='42' count='100' backedge_count='2048' iicount='100' level='3' stamp='0.049' comment='tiered' hot_count='100'/>
So it could be:
$ java -jar ./open/src/utils/LogCompilation/logc.jar hotspot_pid19693.log
1 java.lang.StringLatin1::hashCode (42 bytes)
4 jdk.internal.misc.Unsafe::getObjectAcquire (7 bytes)
3 java.util.concurrent.ConcurrentHashMap::tabAt (22 bytes)