Details
-
Enhancement
-
Resolution: Fixed
-
P3
-
8, 9
-
b26
Description
Create an event explicitly for System.gc, always enabled and with stacktrace enabled.
The reason is that when one or more of the gazillions of frameworks you depend on have decided to attempt to force a full gc every once in a while (without having knowledge about everything else that is in use), this would be an easy way to find the location.
The stacktrace should be the one from the caller of the system.gc call.
The reason is that when one or more of the gazillions of frameworks you depend on have decided to attempt to force a full gc every once in a while (without having knowledge about everything else that is in use), this would be an easy way to find the location.
The stacktrace should be the one from the caller of the system.gc call.
Attachments
Issue Links
- blocks
-
JMC-6717 Create a rule warning for System.gc calls
-
- Open
-
- relates to
-
JDK-8268576 jdk/jfr/event/gc/collection/TestSystemGc.java fails
-
- Resolved
-
-
JDK-8268578 Test from JDK-8003216 has the wrong filename
-
- Closed
-