Affects Version/s: None
Fix Version/s: None
Environment:Windows XP i686
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.
|Status||Open [ 1 ]||Closed [ 6 ]|
|Assignee||Mikhail Markov [ mmarkov ]|
|Resolution||Duplicate [ 3 ]|
|Summary||[drlvm][zip] Un-end()-ed deflaters leak native memory||[drlvm] Un-end()-ed deflaters leak native memory|