RFR (S) 8198717: Remove compute_optional_offset

Claes Redestad claes.redestad at oracle.com
Wed Sep 19 13:51:52 UTC 2018


Nice cleanup!

I think setting these previously optional offsets to -1 in the 
compute_offset methods is now pointless. I suggest removing that along 
with the legacy comments (".. only present in 1.5") and related asserts.

/Claes

On 2018-09-19 01:28, coleen.phillimore at oracle.com wrote:
> Summary: remove optional_offset computation and related unused code 
> from javaClasses for reflection.
>
> open webrev at http://cr.openjdk.java.net/~coleenp/8198717.01/webrev
> bug link https://bugs.openjdk.java.net/browse/JDK-8198717
>
> Tested with hs-tier1 and 2.
>
> Thanks,
> Coleen



More information about the hotspot-runtime-dev mailing list