United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 8000715 legacy_lifecycle applets get destroyed prematurely
8000715 : legacy_lifecycle applets get destroyed prematurely

Details
Type:
Backport
Submit Date:
2012-10-10
Status:
Closed
Updated Date:
2012-10-26
Project Name:
JDK
Resolved Date:
2012-10-10
Component:
deploy
OS:
Sub-Component:
plugin
CPU:
Priority:
P2
Resolution:
Fixed
Affected Versions:
8
Fixed Versions:
6u38

Related Reports
Backport:

Sub Tasks

Description
This is the shadowing CR for https://bug.oraclecorp.com/pls/bug/webbug_print.show?c_rptno=14080741

Summary:
If applet with legacy_lifecycle=true trigger agressive heap memory allocation to a level close to max memory value (eventhough the actual memory usage is still low), and user navigate away from the page containing the applet, the applet will be destroyed prematurely.

Test case:
- Make sure java console is show and tracing is set at top level (5/all).
- http://aubing.de.oracle.com/applet-destroy/hod_testcase.html 
 (ignore the third applet class not found error)
- Click on buttons until total mem value is close or equal to max mem value.
- Move away from the page to trigger applet stop call.  Will see on the console applet is destroy.

Expect: applet not destroyed and not reloaded but reused from legacy lifecycle applet cache.

Test case files:
ftp://bugftp.us.oracle.com/upload/bug_14/bug14080741

                                    

Comments
Verification for 6u38:
   6u34 b04 - FAIL, stop and destroy are called
   6u38 b03 - PASS, only stop called.
                                     
2012-10-26



Hardware and Software, Engineered to Work Together