JDK-4984394 : assertion error CallGenerator::for_inline occured in vtest run
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_7,solaris_8
  • CPU: sparc
  • Submitted: 2004-01-28
  • Updated: 2004-05-10
  • Resolved: 2004-02-10
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
5.0 b38Fixed
Related Reports
Relates :  
Relates :  
Description
###@###.### 2004-01-27:

assertion error occured in vtest run in fastdebug build 20040113204634.jmasa.gc_baseline_merge-debug.

Test machine: big5server.sfbay
# uname -a
SunOS big5server 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-Enterprise

fastdebug build version:
Java HotSpot(TM) Server VM (build 20040113204634.jmasa.gc_baseline_merge-debug, compiled mode)

JVM flags:
-server -Xcomp -XX:CompileOnly=java/net/Socket -XX:+UnlockDiagnosticVMOptions -XX:+LogCompilation -XX:LogFile=<server client>log

Stack trace:
current thread: t@18
  [1] _libc_nanosleep(0xead80070, 0xead80068, 0x0, 0x0, 0x0, 0x0), at 0xff2986a4
  [2] __nanosleep(0x64, 0xead80120, 0x10, 0x0, 0xff37e000, 0x0), at 0xff36ab04
  [3] os::message_box(0x1cfd8, 0xfe42e9f8, 0xead80120, 0x10, 0xfe364f78, 0x64),
at 0xfd5740fc
  [4] VMError::show_message_box(0xead8035c, 0xfe42e9f8, 0x7d0, 0xfd781af4, 0x244
00, 0x38), at 0xfd7829dc
  [5] VMError::report_and_die(0xead8035c, 0x2abc8, 0x24570, 0x2a800, 0x28d8c, 0x
fe42f1d0), at 0xfd781b24
  [6] report_assertion_failure(0xfd97544b, 0x22, 0xfd9754a0, 0x1fbf78, 0xfe364f7
8, 0x6), at 0xfcfd9cf0
  [7] CallGenerator::for_inline(0x4496b8, 0xbf800000, 0xfe364f78, 0x27db0, 0x27c
00, 0x3e2af8), at 0xfce89de4
  [8] Compile::call_generator(0xfd017730, 0x4496b8, 0x0, 0x3b8be0, 0xfe3c2278, 0
xead81088), at 0xfd017d08
  [9] Parse::do_call(0xead80804, 0x0, 0xfffffffc, 0x4, 0x0, 0x1), at 0xfd018890
  [10] Parse::do_one_block(0xead80804, 0xead80890, 0xfe435cec, 0xfe4814f0, 0xfe4
7c43c, 0xfe42fb64), at 0xfd59e720
  [11] Parse::do_all_blocks(0xead80804, 0xead80804, 0x0, 0xfe364f78, 0x30, 0x232
), at 0xfd597ef8
  [12] Parse::Parse(0xead80804, 0x1, 0xfe3bd000, 0xead81088, 0xa0d67c, 0x2a3f8),
 at 0xfd597c94
  [13] ParseGenerator::generate(0x3e29a0, 0x3b8610, 0xead81088, 0xfe364f78, 0xfd
974225, 0xfd704aa8), at 0xfce89178
  [14] Parse::do_call(0xead80b54, 0x0, 0x3e29a0, 0xfe3c234c, 0x0, 0x171340), at
0xfd018a00
  [15] Parse::do_one_block(0xead80b54, 0xead80be0, 0xfe435cec, 0xfe4814f0, 0xfe4
7c43c, 0xfe42fb64), at 0xfd59e720
  [16] Parse::do_all_blocks(0xead80b54, 0xead80b54, 0x0, 0xfe364f78, 0x420, 0x23
2), at 0xfd597ef8
  [17] Parse::Parse(0xead80b54, 0x1, 0xfe3bd000, 0xead81088, 0x9cb25c, 0x2a3f8),
 at 0xfd597c94
  [18] ParseGenerator::generate(0x3e1a50, 0x39c838, 0xead81088, 0xfe364f78, 0xfd
974225, 0xfd704aa8), at 0xfce89178
  [19] Compile::Compile(0x172e3c, 0xfda6d540, 0x1eebd8, 0x3e1a50, 0xead81960, 0x
172d9c), at 0xfcf779f0
  [20] C2Compiler::compile_method(0x1eebd8, 0xead81960, 0x4423c8, 0xffffffff, 0x
1, 0xead81100), at 0xfce885c0
  [21] CompileBroker::invoke_compiler_on_method(0x363860, 0x1fb790, 0x1, 0x29580
, 0x9400, 0x0), at 0xfcf8a6d0
  [22] CompileBroker::compiler_thread_loop(0xfe40a3b0, 0x1fb790, 0x363860, 0xfe3
e9844, 0xfe3dba54, 0xfe3cb29c), at 0xfcf89128
  [23] JavaThread::thread_main_inner(0x1fb790, 0x0, 0xfe3e9148, 0xfe364f78, 0x2a
454, 0x1fb790), at 0xfd6f837c
  [24] _start(0x1fb790, 0x29734, 0x12, 0xfe364f78, 0x29400, 0xfd6f7e4c), at 0xfd
56dff4


core file is saved under /export/archive/VolanoTestrun.23716 on the machine big5server.sfbay




Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger-beta2 FIXED IN: tiger-beta2 INTEGRATED IN: tiger-b38 tiger-beta2 VERIFIED IN: tiger-beta2
14-06-2004

EVALUATION When running with -XX:CompileOnly, the "is compilable" status of a method changed during it's compilation causing an assert to fail. This change caches the value of "is compilable" in the ciMethod so that the state does not change during compilation. Because the bytecodes are loaded lazily, the methodOop may have breakpoints inserted after the ciMethod is created. In this case the breakpoints are reverted in the ci's copy when the bytecodes are copied to the ciMethod to preserve the "is compilable" state.
11-06-2004

SUGGESTED FIX http://analemma.sfbay.sun.com/net/prt-archiver.sfbay/export2/archived_workspaces/main/c2_baseline/2004/20040202092838.nips.c2_baseline/workspace/webrevs/webrev-2004.02.02/index.html
11-06-2004