RFR: 8258912: Remove JVM options CountJNICalls and CountJVMCalls

Harold Seigel hseigel at openjdk.java.net
Thu Jan 14 15:07:01 UTC 2021


On Wed, 13 Jan 2021 07:36:10 GMT, Aleksey Shipilev <shade 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.

Thanks Coleen, Lois, and Aleksey for reviewing this change and David for his comments!

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

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


More information about the hotspot-dev mailing list