Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6445745
Votes 0
Synopsis TransformerManagementThreadAddTests.java fails an assertion
Category hotspot:compiler2
Reported Against
Release Fixed mustang(b92), 5.0u19-rev(b04) (Bug ID:2178687) , 5.0u20-rev(b03) (Bug ID:2179632)
State 10-Fix Delivered, bug
Priority: 2-High
Related Bugs 6403625 , 6827657 , 2178688
Submit Date 30-JUN-2006
Description
TransformerManagementThreadAddTests.java failed in the 2006.06.29 nightly.
Here is the entry from my usual analysis report:

New INSTRUMENT_REGRESSION failures (from 2006.06.29)
   java/lang/instrument/TransformerManagementThreadAddTests.java
        This test failed the following assertion:

            Internal Error (src/share/vm/opto/parse1.cpp, 1579)
            Error: assert(n != top() || r->in(pnum) == top(),
                "live value must not be garbage")

        on Solaris X86 Server VM (machine vm-v20z-9), Solaris SPARC
        Server VM (machine jtg-s130), Solaris SPARC-64 Server VM
        (machine jtg-s130), and Solaris AMD64 Server VM (machine
        vm-v20z-10). This is a client-centric day so these are the
        only Server VM configs to be run today.

        This failure did not occur in the 2006.06.28 run. PRT job
        20060629094817.dcubed.service_hs_b91_merge was a merge of
        20060629071936.nips.compiler_b91_merge from main/baseline.
        There were no other putbacks to service_hs_baseline. It
        looks like we picked up a regression for the c2_baseline
        push for Mustang-B91.

        This test is covered by the following bug:

            6239043 4/4 test/java/lang/instrument/
                        TransformerManagementThreadAddTests.java failed 

        However, this is not the same failure mode.
Posted Date : 2006-06-30 21:21:42.0

To reproduce this bug you need a JDK/SDK workspace. Actually you
just need the test portion of it, possibly even just the
test/java/lang/instrument portion of it, but I haven't tested
that.

I've attached a do-sdk-jli.ksh script that runs just the
TransformerManagementThreadAddTests.java test. Drop this
script at the top of the JDK/SDK workspace and run as
follows:

% ksh do-sdk-jli.ksh $JAVA_HOME -server
runregress: Version 01/14/06
runregress: Using jtreg 2.1.6 from /java/svc/jct-tools2.1.6
runregress: Using this jdk for JavaTest: /java/svc/sqeweb/UNIFIED-DTF/stable-jdk/solaris-sparc
runregress: Testing this jdk: /net/gtee/export/nightly/mustang/JDK/service_hs_baseline/jdk1.6/solaris-sparc

-- NOTE:  Will run jtreg with  -server -showversion
          jtreg might not like some/all of these!
          Run ..../jtreg -help for more info

Starting run:  Fri Jun 30 14:44:54 PDT 2006
Directory "/home/dcubed/sdk-test-mustang/sdk-jli.solaris-sparc/JTwork/scratch" not found: Creating
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) Client VM (build 1.5.0_05-b05, mixed mode)

test results: failed: 1
Report written to /home/dcubed/sdk-test-mustang/sdk-jli.solaris-sparc/JTreport/report.html
Results written to /home/dcubed/sdk-test-mustang/sdk-jli.solaris-sparc/JTwork
Error: some tests failed or other problems occurred

real     1:34.4
user     1:02.0
sys         9.1

The summary report is in:
   /home/dcubed/sdk-test-mustang/sdk-jli.solaris-sparc/jjsummary.html

Failed tests are:
runner finished: java/lang/instrument/TransformerManagementThreadAddTests.java: Failed. Unexpected exit from test [exit code: 6]

cat /home/dcubed/sdk-test-mustang/sdk-jli.solaris-sparc/JTwork/java/lang/instrument/TransformerManagementThreadAddTests.jtr


% tail -25 sdk-jli.solaris-sparc/JTwork/java/lang/instrument/TransformerManagementThreadAddTests.jtr
----------System.out:(19/931)----------
InstrumentationHandoff JPLIS agent initialized
Reading test class from /home/dcubed/sdk-test-mustang/sdk-jli.solaris-sparc/JTwo
rk/classes/java/lang/instrument/DummyClass.class
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc:  SuppressErrorAt=/parse1.cpp:1579]
#
# An unexpected error has been detected by Java Runtime Environment:
#
#  Internal Error (/net/prt-solsparc-q1-18/tmp/PrtBuildDir/workspace/src/share/v
m/opto/parse1.cpp, 1579 [ Patched ]), pid=22468, tid=7
#
# Java VM: Java HotSpot(TM) Server VM (20060629094817.dcubed.service_hs_b91_merg
e-debug mixed mode)
#
# Error: assert(n != top() || r->in(pnum) == top(),"live value must not be garba
ge")
# An error report file with more information is saved as hs_err_pid22468.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
Current thread is 7
Dumping core ...
----------System.err:(0/0)----------
result: Failed. Unexpected exit from test [exit code: 6]


test result: Failed. Unexpected exit from test [exit code: 6]

Feel free to use ~dcubed/sdk-test-mustang and the do-sdk-jli.ksh
file that I left there.
Posted Date : 2006-06-30 21:49:38.0
Work Around
N/A
Evaluation
Steve G. fix for 6403625 exposed an additional case of
the disagreement between Interpreter and ciTypeFlow
when an oop is defined inside a loop. In this case Interpreter
says the oop's local value is dead (uninitialized) at
the beginning of the loop (OSR entry) and alive at the loop's
end. The Steve's fix catch this disagreement and set the
local value to TOP on the OSR entry. This cause the assert
when Parser creates Phi to merge the backbranch (alive) value
with the entry (dead) top value.
Posted Date : 2006-07-13 21:38:25.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang