JRockit 1.4.2 - freeMemory() reports 0 with parallel GC - CR185771

(Doc ID 775412.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle JRockit / JRockit / 1.4.2_04
Information in this document applies to any platform

Goal

DESCRIPTION:
freeMemory() returns 0 when parallel GC is enabled.

The problem occurs on both win32 and linux32 in both Viking and Ariane.  The problem does not occur with gencon GC. 
Sun JVM does not exhibit this problem.

CONFIGURATION:
JRockit 1.4.2
win32/linux32
parallel GC

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms