I am using OpenJDK 17 and I've run my program with option -XX:+LogCompilation
.
My output is:
...
<
task_queued compile_id='47746'
method='my.Test.method ()V'
bytes='126'
count='2408'
backedge_count='615531'
iicount='2408'
stamp='3922.976'
comment='tiered'
hot_count='2331'
/>
...
<nmethod
compile_id='47746'
compiler='c2'
level='4'
entry='0x0000ffff7e154a80'
size='13048'
address='0x0000ffff7e154710'
relocation_offset='344'
insts_offset='880'
stub_offset='6576'
scopes_data_offset='8248'
scopes_pcs_offset='11424'
dependencies_offset='12288'
handler_table_offset='12512'
nul_chk_table_offset='12560'
oops_offset='7440'
metadata_offset='7520'
method='my.Test.method ()V'
bytes='126' count='2750'
backedge_count='671334'
iicount='2750'
stamp='3923.052'
/>
...
<make_not_entrant
thread='190'
compile_id='47746'
compiler='c2'
level='4'
stamp='3959.792'
/>
...
So, as you can see, it was made entrant. Anyway, there is no uncommon_trap
for this compilation_id=47746
so I do not know what is a reason for this action here.
Does anyone has any idea how it could be explained?