Mercurial > hg > graal-jvmci-8
comparison agent/src/share/classes/sun/jvm/hotspot/utilities/soql/sa.js @ 1040:873ec3787992
6892186: SA does not dump debug info for scalar replaced objects
Summary: Implement scalar replaced objects debug info dump in SA.
Reviewed-by: twisti
author | kvn |
---|---|
date | Wed, 21 Oct 2009 09:15:33 -0700 |
parents | a61af66fc99e |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1039:987e948ebbc8 | 1040:873ec3787992 |
---|---|
1045 // ignore; | 1045 // ignore; |
1046 continue; | 1046 continue; |
1047 } else { | 1047 } else { |
1048 // some type names have ':'. replace to make it as a | 1048 // some type names have ':'. replace to make it as a |
1049 // JavaScript identifier | 1049 // JavaScript identifier |
1050 tmp.name = tmp.name.replace(':', '_'); | 1050 tmp.name = tmp.name.replace(':', '_').replace('<', '_').replace('>', '_').replace('*', '_').replace(' ', '_'); |
1051 eval("function read" + tmp.name + "(addr) {" + | 1051 eval("function read" + tmp.name + "(addr) {" + |
1052 " return readVMType('" + tmp.name + "', addr);}"); | 1052 " return readVMType('" + tmp.name + "', addr);}"); |
1053 eval("function print" + tmp.name + "(addr) {" + | 1053 eval("function print" + tmp.name + "(addr) {" + |
1054 " printVMType('" + tmp.name + "', addr); }"); | 1054 " printVMType('" + tmp.name + "', addr); }"); |
1055 | 1055 |