RFR: JDK-8289524: Add JFR JIT restart event [v3]
Lutz Schmidt
lucy at openjdk.org
Mon Jul 18 08:12:03 UTC 2022
On Thu, 14 Jul 2022 17:03:14 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:
>> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Bring back JitRestart event, add codeCacheMaxCapacity
>
> src/hotspot/share/jfr/metadata/metadata.xml line 563:
>
>> 561: <Event name="JitRestart" category="Java Virtual Machine, Compiler" label="JIT restart" stackTrace="false" startTime="false" thread="true">
>> 562: <Field type="int" name="freedMemory" label="Freed Memory" />
>> 563: <Field type="ulong" name="codeCacheMaxCapacity" label="CodeCache maximum capacity" />
>
> Is codeCacheMaxCapacity the current in-use size of the CodeCache, in bytes? It should have the contentType="bytes" in that case. Also "freedMemory" should have the same contentType.
Yes, codeCacheMaxCapacity is given in bytes. It specifies the maximum size, not the current in-use size, of the CodeCache. It is the sum over all CodeHeap segments.
-------------
PR: https://git.openjdk.org/jdk/pull/9334
More information about the hotspot-dev
mailing list