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

Disable generating comments for stubs not printed

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 9, 10
    • hotspot
    • generic
    • generic

      C1's CommentedAssembly flag is used to control stub comments generation and it is turned on in debug build by default and comments are generated even if we're not going to print out a method.
      Without this flag code emission is about 30% faster, so it does make sense to avoid comments generation unless we know that method will be printed out.

            fzhinkin Filipp Zhinkin
            fzhinkin Filipp Zhinkin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: