Mercurial > hg > graal-compiler
comparison agent/src/share/classes/sun/jvm/hotspot/jdi/VirtualMachineImpl.java @ 6782:5a98bf7d847b
6879063: SA should use hsdis for disassembly
Summary: We should in SA to use hsdis for it like the JVM does to replace the current java based disassembler.
Reviewed-by: twisti, jrose, sla
Contributed-by: yumin.qi@oracle.com
author | minqi |
---|---|
date | Mon, 24 Sep 2012 12:44:00 -0700 |
parents | da91efe96a93 |
children |
comparison
equal
deleted
inserted
replaced
6780:8440414b0fd8 | 6782:5a98bf7d847b |
---|---|
261 */ | 261 */ |
262 threadGroupForJDI = new ThreadGroup("JDI [" + | 262 threadGroupForJDI = new ThreadGroup("JDI [" + |
263 this.hashCode() + "]"); | 263 this.hashCode() + "]"); |
264 | 264 |
265 ((com.sun.tools.jdi.VirtualMachineManagerImpl)mgr).addVirtualMachine(this); | 265 ((com.sun.tools.jdi.VirtualMachineManagerImpl)mgr).addVirtualMachine(this); |
266 | |
267 // By default SA agent classes prefer Windows process debugger | |
268 // to windbg debugger. SA expects special properties to be set | |
269 // to choose other debuggers. We will set those here before | |
270 // attaching to SA agent. | |
271 | |
272 System.setProperty("sun.jvm.hotspot.debugger.useWindbgDebugger", "true"); | |
266 } | 273 } |
267 | 274 |
268 // we reflectively use newly spec'ed class because our ALT_BOOTDIR | 275 // we reflectively use newly spec'ed class because our ALT_BOOTDIR |
269 // is 1.4.2 and not 1.5. | 276 // is 1.4.2 and not 1.5. |
270 private static Class vmCannotBeModifiedExceptionClass = null; | 277 private static Class vmCannotBeModifiedExceptionClass = null; |