RFR: 8219860: Cleanup ClassFileParser::parse_linenumber_table

Harold Seigel harold.seigel at oracle.com
Fri Mar 8 14:18:25 UTC 2019


Hi Claes,

This looks good!

Thanks, Harold

On 3/8/2019 4:18 AM, Claes Redestad wrote:
> Hi,
>
> ClassFileParser::parse_linenumber_table use
> CompressedLineNumberWriteStream to turn line number information into a
> compact table for inclusion in each Method. Calls in that area are
> poorly inlined and shows up in startup profiles.
>
> Additionally, there are a few hacks in the area to disable compiler
> optimizations on Windows due a bug in MSC 2005 that caused stack
> overflow at build time. Testing show no sign of issues, so I suggest
> removing these explicit deoptimizations.
>
> Webrev: http://cr.openjdk.java.net/~redestad/8219860/open.00/
> Bug:    https://bugs.openjdk.java.net/browse/JDK-8219860
>
> Testing: tier1-3, verified a 10-15% reduction of instructions in
> parse_linenumber_table.
>
> Thanks!
>
> /Claes


More information about the hotspot-runtime-dev mailing list