RFC: LogTouchedMethods

Remi Forax forax at univ-mlv.fr
Fri Nov 20 08:18:28 UTC 2020


----- Mail original -----
> De: "Aleksey Shipilev" <shade at redhat.com>
> À: "hotspot-runtime-dev" <hotspot-runtime-dev at openjdk.java.net>
> Envoyé: Vendredi 20 Novembre 2020 09:01:43
> Objet: RFC: LogTouchedMethods

> Hi,

Hi Aleksey,

> 
> I am looking at some Zero failures in
> runtime/CommandLine/PrintTouchedMethods.java, and now I wonder
> if the whole LogTouchedMethod machinery is needed. As far as I can grasp from
> the JIRA, it was added
> here:
>   https://bugs.openjdk.java.net/browse/JDK-8025692
> 
> ...to cater for CDS use cases. But then I see the actual CDS improvement that is
> supposed to use
> that machinery is not there, and it is actually "Won't Fix"-ed:
>   https://bugs.openjdk.java.net/browse/JDK-8087354
> 
> So, are we still doing that CDS improvement in future? Otherwise, should we
> consider removing
> LogTouchedMethods machinery to avoid additional maintenance burden?

Touched methods are the methods you need to have to run your application if you fully control all the inputs,
I've use it several times to direct some static analysis when you want a more precise information/statistics than just, this jar is used or this class is used.

> 
> --
> Thanks,
> -Aleksey

regards,
Rémi


More information about the hotspot-runtime-dev mailing list