Bug 1442162 - Using jdb triggers OOME on the debugged application
Summary: Using jdb triggers OOME on the debugged application
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: java-1.8.0-openjdk
Version: 7.0
Hardware: x86_64
OS: Linux
Target Milestone: rc
: ---
Assignee: Andrew John Hughes
QA Contact: Jan Kepler
Depends On: 1284948
TreeView+ depends on / blocked
Reported: 2017-04-13 17:10 UTC by Jaroslav Reznik
Modified: 2017-04-21 02:11 UTC (History)
11 users (show)

Fixed In Version: java-1.8.0-openjdk-
Doc Type: Bug Fix
Doc Text:
When a method is called using the Java Debug Wire Protocol (JDWP) "invokeMethod" command in a target Java virtual machine, JDWP creates global references for every Object that is implied in the method invocation, as well as for the returned argument of the reference type. Previously, the global references created for such arguments were not collected (deallocated) by the garbage collector after "invokeMethod" finished. This consequently caused memory leaks, and because references to such objects were never released, the debugged application could be terminated with an Out of Memory error. This bug has been fixed, and the described problem no longer occurs.
Clone Of: 1284948
: 1443684 (view as bug list)
Last Closed: 2017-04-21 02:11:16 UTC

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
openjdk bug system JDK-8153711 None None None 2017-04-13 17:10:13 UTC
Icedtea Bugzilla 3313 None None None 2017-04-13 17:10:13 UTC
Red Hat Product Errata RHSA-2017:1108 normal SHIPPED_LIVE Moderate: java-1.8.0-openjdk security and bug fix update 2017-04-21 06:10:52 UTC

Description Jaroslav Reznik 2017-04-13 17:10:02 UTC
This bug has been copied from bug #1284948 and has been proposed
to be backported to 7.3 z-stream (EUS).

Comment 16 errata-xmlrpc 2017-04-21 02:11:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.