RFR: 8258912: Remove JVM options CountJNICalls and CountJVMCalls

Aleksey Shipilev shade at openjdk.java.net
Wed Jan 13 07:38:55 UTC 2021


On Tue, 12 Jan 2021 15:17:52 GMT, Harold Seigel <hseigel at openjdk.org> wrote:

> Please review this change to remove the old non-product JVM -XX flags CountRuntimeCalls, CountJNICalls, CountJVMCalls, and CountRemovableExceptions.  Additionally, this change removes non-product flag WarnOnStalledSpinLock because, as a result of this change, it is no longer used.
> 
> The change was tested with Mach5 tiers 1-2 on Linux, Mac OS, and Windows, and tiers 3-5 on Linux x64.
> 
> Thanks, Harold

I never used these flags, and I don't think they are very useful. I think most of that data is supposed to be delivered by JFR these days, instead of ad-hoc profiling facilities. If there are no relevant JFR events, they could be added later.

-------------

Marked as reviewed by shade (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/2050


More information about the hotspot-dev mailing list