Skip to content

Instantly share code, notes, and snippets.

@chriswhocodes
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chriswhocodes/60774526fd00dcf2891a to your computer and use it in GitHub Desktop.
Save chriswhocodes/60774526fd00dcf2891a to your computer and use it in GitHub Desktop.
buildIR nodes from SandboxTest with -XX:+TieredCompilation
<task_queued osr_bci="12" method="SandboxTest main ([Ljava/lang/String;)V" compile_kind="osr" level="3" bytes="56" count="1" backedge_count="69632" stamp="0.199" comment="tiered" hot_count="69632" compile_id="34" iicount="1"/>
<nmethod stub_offset="2448" dependencies_offset="3672" compileMillis="10" address="0x00000001048dda50" method="SandboxTest main ([Ljava/lang/String;)V" level="3" count="1" backedge_count="375551" stamp="0.209" nul_chk_table_offset="3680" scopes_data_offset="2736" iicount="1" oops_offset="2680" entry="0x00000001048ddc40" size="3728" scopes_pcs_offset="3064" compile_kind="osr" insts_offset="496" bytes="56" relocation_offset="288" compile_id="34" compiler="C1"/>
<task_queued method="SandboxTest main ([Ljava/lang/String;)V" level="3" bytes="56" count="1" backedge_count="376371" stamp="0.209" comment="tiered" hot_count="1" compile_id="35" iicount="1"/>
<nmethod inlined_bytes="26" backedge_count="1000000" stamp="0.217" scopes_data_offset="2608" osr_bci="12" scopes_pcs_offset="2912" insts_offset="496" compile_id="35" compiler="C1" stub_offset="2320" dependencies_offset="3472" compileMillis="8" address="0x00000001048dcc50" method="SandboxTest main ([Ljava/lang/String;)V" level="3" count="1" nul_chk_table_offset="3480" nmsize="2056" iicount="1" oops_offset="2552" entry="0x00000001048dce40" size="3520" compile_kind="osr" bytes="56" success="1" relocation_offset="288"/>
<task osr_bci="12" method="SandboxTest main ([Ljava/lang/String;)V" compile_kind="osr" level="3" bytes="56" count="1" backedge_count="115320" stamp="0.200" compile_id="34" iicount="1">
<phase name="buildIR" stamp="0.200">
<type name="void" id="680"/>
<klass name="[Ljava/lang/String;" flags="1041" id="777"/>
<klass name="SandboxTest" flags="1" id="776"/>
<method bytes="56" name="main" flags="9" holder="776" arguments="777" id="778" iicount="1" return="680"/>
<parse method="778" stamp="0.200"> <!-- void SandboxTest.main(java.lang.String[]) -->
<bc code="183" bci="4"/>
<method bytes="5" name="<init>" flags="1" holder="776" id="780" iicount="1" return="680"/>
<call method="780" instr="invokespecial"/>
<inline_success reason="receiver is statically known"/>
<bc code="183" bci="1"/>
<klass name="java/lang/Object" flags="1" id="685"/>
<method level="1" bytes="1" name="<init>" flags="1" holder="685" id="782" compile_id="10" compiler="C1" iicount="1576" return="680"/>
<call method="782" instr="invokespecial"/>
<inline_success reason="receiver is statically known"/>
<bc code="182" bci="20"/>
<type name="int" id="678"/>
<method level="4" bytes="8" name="a" flags="1" holder="776" arguments="678" id="784" compile_id="33" compiler="C2" iicount="69323" return="678"/>
<call method="784" instr="invokevirtual"/>
<dependency x="784" ctxk="776" type="unique_concrete_method"/>
<inline_success reason="receiver is statically known"/>
<bc code="182" bci="3"/>
<method level="2" bytes="8" name="b" flags="1" holder="776" arguments="678" id="786" compile_id="31" compiler="C1" iicount="69323" return="678"/>
<call method="786" instr="invokevirtual"/>
<dependency x="786" ctxk="776" type="unique_concrete_method"/>
<inline_success reason="receiver is statically known"/>
<bc code="182" bci="3"/>
<method level="2" bytes="4" name="c" flags="1" holder="776" arguments="678" id="788" compile_id="32" compiler="C1" iicount="69313" return="678"/>
<call method="788" instr="invokevirtual"/>
<dependency x="788" ctxk="776" type="unique_concrete_method"/>
<inline_success reason="receiver is statically known"/>
<bc code="183" bci="37"/>
<klass unloaded="1" name="java/lang/StringBuilder" id="793"/>
<method unloaded="1" name="<init>" holder="793" id="794" return="680"/>
<call method="794" instr="invokespecial"/>
<inline_fail reason="not inlineable"/>
<bc code="182" bci="42"/>
<klass name="java/lang/String" flags="17" id="686"/>
<method unloaded="1" name="append" holder="793" arguments="686" id="796" return="793"/>
<call method="796" instr="invokevirtual"/>
<inline_fail reason="not inlineable"/>
<bc code="182" bci="46"/>
<method unloaded="1" name="append" holder="793" arguments="678" id="797" return="793"/>
<call method="797" instr="invokevirtual"/>
<inline_fail reason="not inlineable"/>
<bc code="182" bci="49"/>
<method unloaded="1" name="toString" holder="793" id="798" return="686"/>
<call method="798" instr="invokevirtual"/>
<inline_fail reason="not inlineable"/>
<bc code="182" bci="52"/>
<klass unloaded="1" name="java/io/PrintStream" id="790"/>
<method unloaded="1" name="println" holder="790" arguments="686" id="799" return="680"/>
<call method="799" instr="invokevirtual"/>
<inline_fail reason="not inlineable"/>
<parse_done stamp="0.200"/>
</parse>
<phase name="optimize_blocks" stamp="0.200">
<phase_done name="optimize_blocks" stamp="0.200"/>
</phase>
<phase name="optimize_null_checks" stamp="0.200">
<phase_done name="optimize_null_checks" stamp="0.200"/>
</phase>
<phase_done name="buildIR" stamp="0.200"/>
</phase>
<phase name="emit_lir" stamp="0.200">
<phase name="lirGeneration" stamp="0.200">
<phase_done name="lirGeneration" stamp="0.200"/>
</phase>
<phase name="linearScan" stamp="0.200">
<phase_done name="linearScan" stamp="0.201"/>
</phase>
<phase_done name="emit_lir" stamp="0.201"/>
</phase>
<phase name="codeemit" stamp="0.201">
<phase_done name="codeemit" stamp="0.201"/>
</phase>
<phase name="codeinstall" stamp="0.201">
<dependency x="784" ctxk="776" type="unique_concrete_method"/>
<dependency x="786" ctxk="776" type="unique_concrete_method"/>
<dependency x="788" ctxk="776" type="unique_concrete_method"/>
<phase_done name="codeinstall" stamp="0.209"/>
</phase>
<code_cache nmethods="32" free_code_cache="250502720" adapters="149" total_blobs="264" stamp="0.200"/>
<task_done inlined_bytes="26" success="1" count="1" backedge_count="376068" stamp="0.209" nmsize="2184"/>
</task>
<task method="SandboxTest main ([Ljava/lang/String;)V" level="3" bytes="56" count="1" backedge_count="378419" stamp="0.209" compile_id="35" iicount="1">
<phase name="buildIR" stamp="0.209">
<type name="void" id="680"/>
<klass name="[Ljava/lang/String;" flags="1041" id="777"/>
<klass name="SandboxTest" flags="1" id="776"/>
<method bytes="56" name="main" flags="9" holder="776" arguments="777" id="778" iicount="1" return="680"/>
<parse method="778" stamp="0.209"> <!-- void SandboxTest.main(java.lang.String[]) -->
<bc code="183" bci="4"/>
<method bytes="5" name="<init>" flags="1" holder="776" id="780" iicount="1" return="680"/>
<call method="780" instr="invokespecial"/>
<inline_success reason="receiver is statically known"/>
<bc code="183" bci="1"/>
<klass name="java/lang/Object" flags="1" id="685"/>
<method level="1" bytes="1" name="<init>" flags="1" holder="685" id="782" compile_id="10" compiler="C1" iicount="1576" return="680"/>
<call method="782" instr="invokespecial"/>
<inline_success reason="receiver is statically known"/>
<bc code="182" bci="20"/>
<type name="int" id="678"/>
<method level="4" bytes="8" name="a" flags="1" holder="776" arguments="678" id="784" compile_id="33" compiler="C2" iicount="82926" return="678"/>
<call method="784" instr="invokevirtual"/>
<inline_success reason="receiver is statically known"/>
<bc code="182" bci="3"/>
<method level="2" bytes="8" name="b" flags="1" holder="776" arguments="678" id="786" compile_id="31" compiler="C1" iicount="85189" return="678"/>
<call method="786" instr="invokevirtual"/>
<inline_success reason="receiver is statically known"/>
<bc code="182" bci="3"/>
<method level="2" bytes="4" name="c" flags="1" holder="776" arguments="678" id="788" compile_id="32" compiler="C1" iicount="87097" return="678"/>
<call method="788" instr="invokevirtual"/>
<inline_success reason="receiver is statically known"/>
<bc code="183" bci="37"/>
<klass unloaded="1" name="java/lang/StringBuilder" id="793"/>
<method unloaded="1" name="<init>" holder="793" id="794" return="680"/>
<call method="794" instr="invokespecial"/>
<inline_fail reason="not inlineable"/>
<bc code="182" bci="42"/>
<klass name="java/lang/String" flags="17" id="686"/>
<method unloaded="1" name="append" holder="793" arguments="686" id="796" return="793"/>
<call method="796" instr="invokevirtual"/>
<inline_fail reason="not inlineable"/>
<bc code="182" bci="46"/>
<method unloaded="1" name="append" holder="793" arguments="678" id="797" return="793"/>
<call method="797" instr="invokevirtual"/>
<inline_fail reason="not inlineable"/>
<bc code="182" bci="49"/>
<method unloaded="1" name="toString" holder="793" id="798" return="686"/>
<call method="798" instr="invokevirtual"/>
<inline_fail reason="not inlineable"/>
<bc code="182" bci="52"/>
<klass unloaded="1" name="java/io/PrintStream" id="790"/>
<method unloaded="1" name="println" holder="790" arguments="686" id="799" return="680"/>
<call method="799" instr="invokevirtual"/>
<inline_fail reason="not inlineable"/>
<parse_done stamp="0.209"/>
</parse>
<phase name="optimize_blocks" stamp="0.209">
<phase_done name="optimize_blocks" stamp="0.209"/>
</phase>
<phase name="rangeCheckElimination" stamp="0.209">
<phase_done name="rangeCheckElimination" stamp="0.209"/>
</phase>
<phase name="optimize_null_checks" stamp="0.209">
<phase_done name="optimize_null_checks" stamp="0.209"/>
</phase>
<phase_done name="buildIR" stamp="0.209"/>
</phase>
<phase name="emit_lir" stamp="0.209">
<phase name="lirGeneration" stamp="0.209">
<phase_done name="lirGeneration" stamp="0.209"/>
</phase>
<phase name="linearScan" stamp="0.209">
<phase_done name="linearScan" stamp="0.209"/>
</phase>
<phase_done name="emit_lir" stamp="0.209"/>
</phase>
<phase name="codeemit" stamp="0.209">
<phase_done name="codeemit" stamp="0.209"/>
</phase>
<phase name="codeinstall" stamp="0.209">
<phase_done name="codeinstall" stamp="0.217"/>
</phase>
<code_cache nmethods="33" free_code_cache="250499136" adapters="149" total_blobs="265" stamp="0.209"/>
<task_done inlined_bytes="26" success="1" count="1" backedge_count="1000000" stamp="0.217" nmsize="2056"/>
</task>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment