-
Enhancement
-
Resolution: Won't Fix
-
P4
-
hs17, hs18, 6
-
generic
-
generic, solaris
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2212428 | 8 | Yumin Qi | P4 | Closed | Fixed | b01 |
JDK-2213544 | 7u2 | Yumin Qi | P4 | Closed | Fixed | b04 |
JDK-2223898 | 6u34 | Poonam Bajaj Parhar | P3 | Closed | Fixed | b01 |
JDK-2212409 | hs22 | Yumin Qi | P4 | Closed | Fixed | b01 |
This RFE introduces a new flag -XX:logfilesize=n and its usage is described as follows:
-Xloggc:somefile -XX:logfilesize=n
If the value of n is 0 or is not set then current behavior.
else
if n is positive, close somefile when its size reaches n and direct
GC log to somefile.1 until its size reaches n, close somefile.1 and
dirct GC log to somefile.2 etc.
A OS specific background (provided by the user) can monitor closed log files
and move them to back up storage.
else
if n is negative perform circular logging when the file size equals abs(n)
- backported by
-
JDK-2223898 RFE: Handling large log files produced by long running Java Applications
- Closed
-
JDK-2212409 RFE: Handling large log files produced by long running Java Applications
- Closed
-
JDK-2212428 RFE: Handling large log files produced by long running Java Applications
- Closed
-
JDK-2213544 RFE: Handling large log files produced by long running Java Applications
- Closed
- duplicates
-
JDK-6950787 Make GC logs cyclic
- Closed
- relates to
-
JDK-6799101 Circular logging
- Closed
-
JDK-7055309 File for -Xloggc flag is opened with 'w', not 'a'
- Closed
-
JDK-8231398 Add time tracing for gc log rotation at safepoint cleanup
- Resolved