United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6948101 java/rmi/transport/pinLastArguments/PinLastArguments.java failing intermittently
JDK-6948101 : java/rmi/transport/pinLastArguments/PinLastArguments.java failing intermittently

Details
Type:
Bug
Submit Date:
2010-04-28
Status:
Closed
Updated Date:
2013-12-17
Project Name:
JDK
Resolved Date:
2012-07-24
Component:
core-libs
OS:
generic
Sub-Component:
java.rmi
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports
Backport:
Backport:
Backport:
Backport:
Backport:
Relates:

Sub Tasks

Description
The java/rmi/transport/pinLastArguments/PinLastArguments.java regression test
was introduced for CR 6332349.

The test expects a particular instance of java.lang.ref.WeakReference to be
cleared following a call to System.gc(). The instance is not being cleared
so an exception gets thrown.

                                    

Comments
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-comp/jdk/rev/97eb7a4b1fdd
                                     
2012-08-14
verified with its results in recently nightlys, all passed
                                     
2013-09-09
EVALUATION

Fix it to make sure the weak-reference is GCed as expected, or test will hang until timeout by jtreg harness.
http://hg.openjdk.java.net/jdk8/tl/jdk/rev/97eb7a4b1fdd
                                     
2012-07-18



Hardware and Software, Engineered to Work Together