Mercurial > hg > graal-jvmci-8
comparison agent/src/share/classes/sun/jvm/hotspot/HotSpotAgent.java @ 10229:f6a055fcf47d
8005038: remove crufty '_g' support from SA
Reviewed-by: coleenp, mgronlun, rbackman
author | sla |
---|---|
date | Tue, 07 May 2013 14:33:09 +0200 |
parents | 39432a1cefdd |
children | 38ea2efa32a7 |
comparison
equal
deleted
inserted
replaced
10228:b5fef8013a95 | 10229:f6a055fcf47d |
---|---|
22 * | 22 * |
23 */ | 23 */ |
24 | 24 |
25 package sun.jvm.hotspot; | 25 package sun.jvm.hotspot; |
26 | 26 |
27 import java.io.PrintStream; | 27 import java.rmi.RemoteException; |
28 import java.net.*; | 28 |
29 import java.rmi.*; | 29 import sun.jvm.hotspot.debugger.Debugger; |
30 import sun.jvm.hotspot.debugger.*; | 30 import sun.jvm.hotspot.debugger.DebuggerException; |
31 import sun.jvm.hotspot.debugger.bsd.*; | 31 import sun.jvm.hotspot.debugger.JVMDebugger; |
32 import sun.jvm.hotspot.debugger.proc.*; | 32 import sun.jvm.hotspot.debugger.MachineDescription; |
33 import sun.jvm.hotspot.debugger.remote.*; | 33 import sun.jvm.hotspot.debugger.MachineDescriptionAMD64; |
34 import sun.jvm.hotspot.debugger.windbg.*; | 34 import sun.jvm.hotspot.debugger.MachineDescriptionIA64; |
35 import sun.jvm.hotspot.debugger.linux.*; | 35 import sun.jvm.hotspot.debugger.MachineDescriptionIntelX86; |
36 import sun.jvm.hotspot.memory.*; | 36 import sun.jvm.hotspot.debugger.MachineDescriptionSPARC32Bit; |
37 import sun.jvm.hotspot.oops.*; | 37 import sun.jvm.hotspot.debugger.MachineDescriptionSPARC64Bit; |
38 import sun.jvm.hotspot.runtime.*; | 38 import sun.jvm.hotspot.debugger.NoSuchSymbolException; |
39 import sun.jvm.hotspot.types.*; | 39 import sun.jvm.hotspot.debugger.bsd.BsdDebuggerLocal; |
40 import sun.jvm.hotspot.utilities.*; | 40 import sun.jvm.hotspot.debugger.linux.LinuxDebuggerLocal; |
41 import sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal; | |
42 import sun.jvm.hotspot.debugger.remote.RemoteDebugger; | |
43 import sun.jvm.hotspot.debugger.remote.RemoteDebuggerClient; | |
44 import sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer; | |
45 import sun.jvm.hotspot.debugger.windbg.WindbgDebuggerLocal; | |
46 import sun.jvm.hotspot.runtime.VM; | |
47 import sun.jvm.hotspot.types.TypeDataBase; | |
48 import sun.jvm.hotspot.utilities.PlatformInfo; | |
49 import sun.jvm.hotspot.utilities.UnsupportedPlatformException; | |
41 | 50 |
42 /** <P> This class wraps much of the basic functionality and is the | 51 /** <P> This class wraps much of the basic functionality and is the |
43 * highest-level factory for VM data structures. It makes it simple | 52 * highest-level factory for VM data structures. It makes it simple |
44 * to start up the debugging system. </P> | 53 * to start up the debugging system. </P> |
45 * | 54 * |
473 | 482 |
474 cpu = debugger.getCPU(); | 483 cpu = debugger.getCPU(); |
475 } | 484 } |
476 | 485 |
477 private void setupJVMLibNamesSolaris() { | 486 private void setupJVMLibNamesSolaris() { |
478 jvmLibNames = new String[] { "libjvm.so", "libjvm_g.so", "gamma_g" }; | 487 jvmLibNames = new String[] { "libjvm.so" }; |
479 } | 488 } |
480 | 489 |
481 // | 490 // |
482 // Win32 | 491 // Win32 |
483 // | 492 // |
505 | 514 |
506 // FIXME: add support for server mode | 515 // FIXME: add support for server mode |
507 } | 516 } |
508 | 517 |
509 private void setupJVMLibNamesWin32() { | 518 private void setupJVMLibNamesWin32() { |
510 jvmLibNames = new String[] { "jvm.dll", "jvm_g.dll" }; | 519 jvmLibNames = new String[] { "jvm.dll" }; |
511 } | 520 } |
512 | 521 |
513 // | 522 // |
514 // Linux | 523 // Linux |
515 // | 524 // |
545 | 554 |
546 attachDebugger(); | 555 attachDebugger(); |
547 } | 556 } |
548 | 557 |
549 private void setupJVMLibNamesLinux() { | 558 private void setupJVMLibNamesLinux() { |
550 jvmLibNames = new String[] { "libjvm.so", "libjvm_g.so" }; | 559 jvmLibNames = new String[] { "libjvm.so" }; |
551 } | 560 } |
552 | 561 |
553 // | 562 // |
554 // BSD | 563 // BSD |
555 // | 564 // |
570 | 579 |
571 attachDebugger(); | 580 attachDebugger(); |
572 } | 581 } |
573 | 582 |
574 private void setupJVMLibNamesBsd() { | 583 private void setupJVMLibNamesBsd() { |
575 jvmLibNames = new String[] { "libjvm.so", "libjvm_g.so" }; | 584 jvmLibNames = new String[] { "libjvm.so" }; |
576 } | 585 } |
577 | 586 |
578 // | 587 // |
579 // Darwin | 588 // Darwin |
580 // | 589 // |
593 | 602 |
594 attachDebugger(); | 603 attachDebugger(); |
595 } | 604 } |
596 | 605 |
597 private void setupJVMLibNamesDarwin() { | 606 private void setupJVMLibNamesDarwin() { |
598 jvmLibNames = new String[] { "libjvm.dylib", "libjvm_g.dylib" }; | 607 jvmLibNames = new String[] { "libjvm.dylib" }; |
599 } | 608 } |
600 | 609 |
601 /** Convenience routine which should be called by per-platform | 610 /** Convenience routine which should be called by per-platform |
602 debugger setup. Should not be called when startupMode is | 611 debugger setup. Should not be called when startupMode is |
603 REMOTE_MODE. */ | 612 REMOTE_MODE. */ |