JDK-7171936 : LOG_G incorrectly defined in globalDefinitions.hpp
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: hs24
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-05-25
  • Updated: 2013-06-26
  • Resolved: 2012-06-02
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 Other
7u40Fixed 8Fixed hs24Fixed
The constant LOG_G in globalDefinitions.hpp is incorrectly definied as 40. It should be 30.

LOG_G is not being used anywhere, so rather than fixing it we should remove it.

LOG_K is also not used and LOG_M is only used in one single place. I suggest that we remove LOG_K and move LOG_M to where it is being used.

EVALUATION http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/5c8bd7c16119

EVALUATION http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/5c8bd7c16119