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

Remove line number nodes and move the line number into statements

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • None
    • 8
    • core-libs
    • None

    Description

      For a large IR line number nodes take up a significant portion of the memory footprint. We should get rid of the LineNumberNode altogether and only put them in Statements. I have a patch out for this already.

      This has the added benefit that we don't need to do a lot of the special cases "look for the last statement, but it mustn't be a LineNumberNode", "pair function declaration vars with a linenumbernode" etc. So this both simplifies logic and footprint.
      ¨

      Attachments

        Issue Links

          Activity

            People

              lagergren Marcus Lagergren
              lagergren Marcus Lagergren
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: