RFR(S): 8248112: array index out of bound in FileMapInfo::check_paths

Ioi Lam ioi.lam at oracle.com
Fri Jun 26 05:36:26 UTC 2020


Hi Calvin,

The changes look good to me.

Thanks
- Ioi

On 6/25/20 6:01 PM, Calvin Cheung wrote:
> JBS: https://bugs.openjdk.java.net/browse/JDK-8248112
>
> webrev: http://cr.openjdk.java.net/~ccheung/jdk16/8248112/webrev.00/
>
> create_path_array() ignores non-existing paths. Although the dump time 
> and
> runtime app classpath lengths are the same initially, after the call to
> create_path_array(), the runtime app classpath length could become
> shorter. We consider app classpath mismatch in this case.
>
> Similar check should be applied to bootclasspath as well.
>
> Testing: appcds tests locally on linux-x64
>              tier1 and 2 tests (in progress)
>
> thanks,
>
> Calvin
>
>
>



More information about the hotspot-runtime-dev mailing list