JEP 173: Remove Rarely-Used Combinations of Garbage Collectors

Jon Masamitsu jon.masamitsu at oracle.com
Fri Dec 14 07:52:42 PST 2012



On 12/14/2012 7:08 AM, Kirk Pepperdine wrote:
> Hi,
>
> The parallel collectors will give memory back also. But I don't really see this as that important an issue... At least not in server environments.

-XX:+UseParNewGC does give back memory.  I think -XX:+UseParallelGC
has a bug in it that keeps it from returning memory.

Jon

> Regards,
> Kirk
>
> On 2012-12-14, at 1:39 PM, lordpixel at me.com wrote:
>
>> On Dec 14, 2012, at 5:13 AM, Richard Warburton<richard.warburton at gmail.com>  wrote:
>>
>>> Furthermore Jack Shirazi pointed out that he was actually using SerialOld in some cases, and with a good tuning reason.  This isn't necessarily a good reason to keep SerialOld, but I'm trying to push back useful feedback.  Hope this is helpful.
>>
>>
>> Another data point: we have 2 apps where we have used or considered using SerialOld because it is the only collector that will ever shrink the heap and give memory back to the hosting process. Both VMs are currently constrained to 32bit, one is desktop and one is embedded inside an older C++ program.
>>
>>
>> AndyT (lordpixel - the cat who walks through walls)
>> A little bigger on the inside
>>
>> 	(see you later space cowboy, you can't take the sky from me)
>>
>>


More information about the hotspot-gc-dev mailing list