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

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b81
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: