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

Make internal javac exceptions stackless

XMLWordPrintable

    • b17

      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.

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

              Created:
              Updated:
              Resolved: