JDK-8033287 : Reduce the size of the endPosTable
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-01-30
  • Updated: 2014-07-29
  • Resolved: 2014-02-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u20Fixed 9 b04Fixed
Description
The endPosTable currently uses a standard impl of Map, but could be optimized to use a more custom impl with a smaller footprint.

This arose from a discussion  on compiler-dev in Dec 2013.
http://mail.openjdk.java.net/pipermail/compiler-dev/2013-December/008253.html
Comments
There is a patch contributed in the mail thread from Per Bothner; see attachments.
30-01-2014