JDK-4724234 : javax.swing.plaf.basic.BasicComboBoxUI.protectedTests failed in comp mode
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 1.4.0,1.4.0_03,1.4.1
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic,solaris_8
  • CPU: generic,sparc
  • Submitted: 2002-08-01
  • Updated: 2009-06-25
  • Resolved: 2002-08-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other Other Other
1.4.0_04 04Fixed 1.4.1_03Fixed 1.4.2Fixed
Related Reports
Duplicate :  
Duplicate :  
Description
--------------------------------------
Test            : runThese JCK API tests
TestBase        : /net/sqesvr.sfbay/export/vsn/VM/testbase/runThese/tests
VM              : server/64-bit VM
Mode            : comp 
Platform (s)    : solaris-sparc
----------------------------------------

Following JCK tests failed when running runThese-JCK tests in 64-bit/server VM comp mode only. 

javasoft.sqe.tests.api.javax.swing.plaf.basic.BasicComboBoxUI.protectedTests


To reproduce the bug:
=====================
1. cd /net/sqesvr.eng/export/vsn/GammaBase/Bugs/{BugID}
2. edit rerun.sh and change $JAVA_HOME if needed.
3. ksh rerun.sh

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.4.0_04 1.4.1_03 mantis mantis-b02 FIXED IN: 1.4.0_04 1.4.1_03 mantis mantis-b02 INTEGRATED IN: 1.4.0_04 1.4.1_03 mantis mantis-b02 VERIFIED IN: mantis
14-06-2004

SUGGESTED FIX src/share/vm/opto/bytecodeInfo.cpp [1.97 vs. 1.98] @@ -161,13 +161,14 @@ const char* InlineTree::shouldNotInline( return "exception method"; } + if (callee_method->has_unloaded_classes_in_signature()) return "unloaded signature classes"; + // use frequency-based objections only for non-trivial methods if (callee_method->code_size() <= MaxTrivialSize) return NULL; if (UseInterpreter) { // don't use counts with -Xcomp if (!callee_method->has_compiled_code() && !callee_method->was_executed_more_than(0)) return "never executed"; if (!callee_method->was_executed_more_than(MIN2(MinInliningThreshold, CompileThreshold >> 1))) return "executed < MinInliningThreshold times"; } - if (callee_method->has_unloaded_classes_in_signature()) return "unloaded signature classes"; return NULL; }
11-06-2004

EVALUATION ###@###.### 2002-08-05 Reproduced failure with local build. A fastdebug build hits the following assert even with -Xverify:all # assert(_exits.control()->is_top() || !_gvn.type(ret_phi)->empty(), "return value must be well defined") # # Error ID: /net/paleczny/export/mpal/hb_4724220/src/share/vm/opto/parse1.cpp, 758 [ Patched ] ----- Reproduces easily with: -Xcomp -Xbatch -XX:+PrintOpto -XX:CompileOnly=protectedTests.BasicComboBoxUI0009 -cp /net/sqesvr/export/vsn/VM/testbase/runThese/classes runThese -D:TESTBASE=/net/sqesvr/export/vsn/VM/testbase/runThese/tests -runList rerun.dat Bug is cutout for unloaded classes in sig happens after the allowance is made for trivial accessor methods to inline (despite low freq). Fix is to move check to before the trivial allowance. ###@###.### 2002-08-09 iMM4.5 failed on 1.4.0_03 and 1.4.1, see bug 4770073 for details, that identified to a dup of this one. ###@###.### 2002-12-20
09-08-2002