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

Make internal javac exceptions stackless

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11, 17, 18, 19
    • Fix Version/s: 19
    • Component/s: tools
    • Subcomponent:
    • Resolved In Build:
      b17

      Description

      async-profiling of SPECjvm2008 benchmarks shows that a considerable time is spent creating and throwing internal exceptions like:
       Infer$InferenceException
       Resolve$InapplicableMethodException
       Types$FunctionDescriptorLookupError

      These exceptions do not seem to leak outside javac and are only used to deliver asynchronous errors and related diagnostics. Stack trace does not seem relevant there and can be omitted.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shade Aleksey Shipilev
              Reporter:
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: