Mercurial > hg > truffle
comparison agent/src/share/classes/sun/jvm/hotspot/ui/classbrowser/HTMLGenerator.java @ 2065:6da3527317ff
7003487: clhsdbproc stacktrace fails on x64
Reviewed-by: phh
author | kevinw |
---|---|
date | Fri, 17 Dec 2010 12:14:48 +0000 |
parents | 3b2dea75431e |
children | 3da13a976363 |
comparison
equal
deleted
inserted
replaced
2028:450ece4d8a10 | 2065:6da3527317ff |
---|---|
28 import java.util.*; | 28 import java.util.*; |
29 import sun.jvm.hotspot.asm.*; | 29 import sun.jvm.hotspot.asm.*; |
30 import sun.jvm.hotspot.asm.sparc.*; | 30 import sun.jvm.hotspot.asm.sparc.*; |
31 import sun.jvm.hotspot.asm.x86.*; | 31 import sun.jvm.hotspot.asm.x86.*; |
32 import sun.jvm.hotspot.asm.ia64.*; | 32 import sun.jvm.hotspot.asm.ia64.*; |
33 import sun.jvm.hotspot.asm.amd64.*; | |
33 import sun.jvm.hotspot.code.*; | 34 import sun.jvm.hotspot.code.*; |
34 import sun.jvm.hotspot.compiler.*; | 35 import sun.jvm.hotspot.compiler.*; |
35 import sun.jvm.hotspot.debugger.*; | 36 import sun.jvm.hotspot.debugger.*; |
36 import sun.jvm.hotspot.interpreter.*; | 37 import sun.jvm.hotspot.interpreter.*; |
37 import sun.jvm.hotspot.memory.*; | 38 import sun.jvm.hotspot.memory.*; |
196 String cpu = VM.getVM().getCPU(); | 197 String cpu = VM.getVM().getCPU(); |
197 if (cpu.equals("sparc")) { | 198 if (cpu.equals("sparc")) { |
198 cpuHelper = new SPARCHelper(); | 199 cpuHelper = new SPARCHelper(); |
199 } else if (cpu.equals("x86")) { | 200 } else if (cpu.equals("x86")) { |
200 cpuHelper = new X86Helper(); | 201 cpuHelper = new X86Helper(); |
202 } else if (cpu.equals("amd64")) { | |
203 cpuHelper = new AMD64Helper(); | |
201 } else if (cpu.equals("ia64")) { | 204 } else if (cpu.equals("ia64")) { |
202 cpuHelper = new IA64Helper(); | 205 cpuHelper = new IA64Helper(); |
203 } else { | 206 } else { |
204 throw new RuntimeException("cpu '" + cpu + "' is not yet supported!"); | 207 throw new RuntimeException("cpu '" + cpu + "' is not yet supported!"); |
205 } | 208 } |