Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8360851

[lworld] missing # {method} comment in assembly dumping

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • repo-valhalla
    • hotspot

      Running test test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.code.test/src/jdk/vm/ci/code/test/VirtualObjectDebugInfoTest.java with CodeInstallationTest::DEBUG == true gives something like
      ```
      [Entry Point]
      [Inline Entry Point]
      [Verified Entry Point]
        # [sp+0x20] (sp of caller)
        0x00007fe41cc08bc0: nopl 0x0(%rax,%rax,1) ; {other}
      ```
      without a # {method} comment. Dumping in nmethod::print_nmethod_labels shows something like:

      block_begin=0x7fe41cc08bc0 (and more)
      low=0x7fe41cc08bbf
      entry_point=0x7fe41cc08bc0
      verified_entry_point=0x7fe41cc08bc0
      verified_inline_entry_point=0x7fe41cc08bbf
      verified_inline_ro_entry_point=0x7fe41cc08bbf
      inline_entry_point=0x7fe41cc08bc0

      Short: verified_inline_entry_point and verified_inline_ro_entry_point are equal to the three other minus 1, but we never print from there.

      I've tried to find (with script) such a problem in the printassembly of java -Xcomp -version without success. Either it's rare, or my script doesn't detect well enough.

            Unassigned Unassigned
            mchevalier Marc Chevalier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: