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

Defer stack trace walking of NashornException for extracting line number and file name

XMLWordPrintable

    • b81
    • generic
    • generic

        Testing shows that NashornException constructor without explicit line number and file name will be somewhat costly as it walks the stack trace to try to locate them. It makes sense to defer extraction of this data until it is first requested.

              attila Attila Szegedi
              attila Attila Szegedi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: