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

Consider adding opcode count or code size output to javap

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P5 P5
    • None
    • None
    • tools
    • None

      This idea stems from discussion during 8035271.

      With the PR for 8035271 it was found/discussed that `LineNumberTable` and `LocalVariableTable` may be displayed without any relevant context, when the `-l` flag is provieded without `-c`. Within the PR discussion it was proposed to add either an opcode count or code size to the output to provide further context.

      Additional case for adding code size from the PR:
      "this size is useful when people want their code to be below the FreqInlineSize".

      These ideas should be further explored.

            jlamperth Jonathan Lampérth
            jlamperth Jonathan Lampérth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: