JDK-8048271 : Minor GC times doubled from JDK 6u35 to JDK 7u51
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 7u51
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-06-26
  • Updated: 2015-04-30
  • Resolved: 2014-07-18
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
7u76Fixed
Related Reports
Relates :  
Description
The increase in the minor GC times with jdk7 is due to the fact that in jdk7 Intern strings and Class-statics were moved to the Java Heap from the PermGen, and these Intern strings and Class-statics are also collected as part of the young generation collections. That causes increase in the minor collection pauses.

There is a debug option 'JavaObjectsInPerm' which can be used to revert the above change and with this option enabled intern strings and class statics get allocated into the PermGen again.
Comments
The increase in minor GC time is due to the fact that in JDK7 class statics and Intern strings were moved to the Java Heap and they get collected as part of the minor collections.
12-07-2014