[rvm-research] How to fix buggy SSA
Lei Zhao <[email protected]>
| Newsgroups | gmane.comp.java.jikes.rvm.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello,
It seems SSA is buggy in the opt compiler. I need to have a working SSA for my project but unfortunately have no clue where to start fixing it. Could someone familiar with this give me some advice? Thanks.
To test SSA, I added a phase which just does SSA enter and exit as the following:
new BuildLST().perform(ir);
boolean SSA = ir.options.SSA;
ir.options.SSA = true;
new SSATuneUp().perform(ir);
new LeaveSSA().perform(ir);
ir.options.SSA = SSA;
and got a crash with Jikes configuration "development" on xalan in DaCapo06. Not sure if it would help, but I put the first portion of the dump below and attached the whole log file.
Thanks.
- Lei
===== DaCapo xalan starting =====
validRef: REF outside heap, ref = 0x000006df
Key: (I)mmortal (N)onmoving (D)iscontiguous (E)xtent (F)raction
HEAP_START 0x31000000
AVAILABLE_START 0x36800000
boot IN 0x31000000->0x40ffffff E 0x10000000
immortal IND []
meta ND [0x41400000->0x417fffff]
los ND [0x47c00000->0x47ffffff, 0x47400000->0x477fffff, 0x47000000->0x473fffff, 0x46800000->0x46bfffff, 0x46400000->0x467fffff, 0x45c00000->0x45ffffff, 0x45000000->0x453fffff, 0x44800000->0x44bfffff, 0x44400000->0x447fffff, 0x4\
3c00000->0x43ffffff, 0x43800000->0x43bfffff, 0x43400000->0x437fffff, 0x42000000->0x423fffff]
sanity ND []
non-moving ND [0x41000000->0x413fffff]
sm-code ND [0x41800000->0x41bfffff]
lg-code ND [0x41c00000->0x41ffffff]
nursery 0x75000000->0x7fffffff F 0.15
immix ND [0x48000000->0x483fffff, 0x47800000->0x47bfffff, 0x46c00000->0x46ffffff, 0x46000000->0x463fffff, 0x45800000->0x45bfffff, 0x45400000->0x457fffff, 0x44c00000->0x44ffffff, 0x44000000->0x443fffff, 0x43000000->0x433fffff, 0x4\
2c00000->0x42ffffff, 0x42800000->0x42bfffff, 0x42400000->0x427fffff]
AVAILABLE_END 0x80000000
HEAP_END 0x80000000
Invalid ref reported while scanning stack
--- METHOD (OPT) Lorg/apache/xalan/templates/ElemApplyTemplates;.transformSelectedNodes (Lorg/apache/xalan/transformer/TransformerImpl;)V
--- fp = 0x43e3f6d8 code base = 0x41c1f014 code offset = 0x000000c4
line number = 245
0x43e3f718:REF=0x000006df (REF OUTSIDE OF HEAP OR NOT MAPPED)
0x43e3f6d8 (0x00000000): 0x43e3f7b0
0x43e3f6dc (0x00000004): 0x41c1f0d8
0x43e3f6e0 (0x00000008): 0x00005794
-- more --
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Jikesrvm-researchers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jikesrvm-researchers