Analysis on JDK-8022321 java/lang/ref/OOMEInReferenceHandler.java fails intermittently
david.holmes at oracle.com
Wed Jan 22 01:59:13 UTC 2014
On 22/01/2014 8:31 AM, Peter Levart wrote:
> On 01/21/2014 07:17 PM, srikalyan wrote:
>> Hi Peter/David, catching up after long weekend. Why would there be an
>> OOME in object heap due to class loading in perm gen space ?
> The perm gen is not a problem her (JDK 8 does not have it and we see
> OOME on JDK8 too). Each time a class is loaded, new java.lang.Class
> object is allocated on heap.
For the bootloader classes I thought, but could easily be wrong, that
the Class mirror did indeed go into the PermGen. But still this is not
relevant on JDK8 where there is no PermGen. It maybe that changed as
part of the early PermGen removal prep work that did go into 7u.
> Regards, Peter
>> Please correct if i am missing something here. Meanwhile i will give
>> the version of Reference Handler you both agreed on a try.
>> Ph: (408)-585-8040
>> On 1/21/14, 7:24 AM, Peter Levart wrote:
>>> On 01/21/2014 07:54 AM, Peter Levart wrote:
>>>> *[Loaded sun.misc.Cleaner from
>>>> [Loaded java.io.ByteArrayInputStream from
>>>> [Loaded sun.util.calendar.ZoneInfoFile$ZoneOffsetTransitionRule from
>>>> I'm on linux, 64bit and using official EA build 121 of JDK 8...
>>>> But if I try with JDK 7u45, I don't see it.
>>> So what changed between JDK 7 and JDK 8?
>>> I suspect the following: 8007572: Replace existing jdk timezone data
>>> at <java.home>/lib/zi with JSR310's tzdb
>>> Regards, Peter
More information about the core-libs-dev