Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
None
-
None
-
None
-
Windows XP i686
Description
The attached test DeflateInflate.java quickly leaks memory and crashes on DRLVM.
The test works okay on J9 and HotSpot.
Note, that JRockit also leaks memory and crashes.
Effectively, the test creates huge amounts of java objects, which keep pointers to blocks allocated
in native heap. The native heap is exhausted before java heap is filled, so no garbage collection
occurs. Should the java collection occur, it would be able to detect unreachable finalizable objects,
run finalizers, which in turn will free native memory.
Attachments
Attachments
Issue Links
- relates to
-
HARMONY-2530 [classlib][util] native memory leak when creating Deflater
- Resolved