JDK-7090324 : gclog rotation via external tool
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 7
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: x86
  • Submitted: 2011-09-14
  • Updated: 2017-05-16
  • Resolved: 2014-03-29
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7 JDK 8 JDK 9
7u76Fixed 8u20Fixed 9 b08Fixed
Description
A DESCRIPTION OF THE REQUEST :
I'm using "logrotate" tool on RHEL for various log rotation.
Now, HotSpot has gclog rotation function for log size base.
However, I need to rotate gc log synchronizing with logrotate tool.


JUSTIFICATION :
I need to rotate gc log synchronizing with logrotate tool.



---------- BEGIN SOURCE ----------
I've made a patch for executing gclog rotation via external tool.
And  I've submitted patch to hotspot-gc-dev and serviceability-dev ML. Please check it.

http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2011-September/003152.html
http://mail.openjdk.java.net/pipermail/serviceability-dev/2011-September/004511.html
---------- END SOURCE ----------