< prev index next >

test/hotspot/jtreg/vmTestbase/nsk/share/jdi/ArgumentHandler.java

Print this page

  1 /*
  2  * Copyright (c) 2001, 2021, Oracle and/or its affiliates. All rights reserved.
  3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  4  *
  5  * This code is free software; you can redistribute it and/or modify it
  6  * under the terms of the GNU General Public License version 2 only, as
  7  * published by the Free Software Foundation.
  8  *
  9  * This code is distributed in the hope that it will be useful, but WITHOUT
 10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 12  * version 2 for more details (a copy is included in the LICENSE file that
 13  * accompanied this code).
 14  *
 15  * You should have received a copy of the GNU General Public License version
 16  * 2 along with this work; if not, write to the Free Software Foundation,
 17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 18  *
 19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 20  * or visit www.oracle.com if you need additional information or have any
 21  * questions.
 22  */

512     static final String[][] notImplemented = {
513 
514             // attaching connectors
515         /*
516          * From docs/technotes/guides/jpda/conninv.html:
517          * "
518          *  This connector can be used by a debugger application to attach to
519          *  a currently running target VM through the shared memory transport. It is
520          *  available only on the Microsoft Windows platform.
521          *  "
522          */
523         {"linux-i586",      "com.sun.jdi.SharedMemoryAttach"},
524         {"linux-ia64",      "com.sun.jdi.SharedMemoryAttach"},
525         {"linux-amd64",     "com.sun.jdi.SharedMemoryAttach"},
526         {"linux-x64",       "com.sun.jdi.SharedMemoryAttach"},
527         {"linux-aarch64",   "com.sun.jdi.SharedMemoryAttach"},
528         {"linux-arm",       "com.sun.jdi.SharedMemoryAttach"},
529         {"linux-ppc64",     "com.sun.jdi.SharedMemoryAttach"},
530         {"linux-ppc64le",   "com.sun.jdi.SharedMemoryAttach"},
531         {"linux-s390x",     "com.sun.jdi.SharedMemoryAttach"},

532         {"macosx-amd64",    "com.sun.jdi.SharedMemoryAttach"},
533         {"mac-x64",         "com.sun.jdi.SharedMemoryAttach"},
534         {"macosx-aarch64",  "com.sun.jdi.SharedMemoryAttach"},
535         {"mac-aarch64",     "com.sun.jdi.SharedMemoryAttach"},
536         {"aix-ppc64",       "com.sun.jdi.SharedMemoryAttach"},
537 
538             // listening connectors
539         /*
540          * From docs/technotes/guides/jpda/conninv.html:
541          * "
542          *  This connector can be used by a debugger application to accept a
543          *  connection from  a separately invoked target VM through the shared memory
544          *  transport.
545          *  It is available only on the Microsoft Windows platform.
546          *  "
547          */
548         {"linux-i586",      "com.sun.jdi.SharedMemoryListen"},
549         {"linux-ia64",      "com.sun.jdi.SharedMemoryListen"},
550         {"linux-amd64",     "com.sun.jdi.SharedMemoryListen"},
551         {"linux-x64",       "com.sun.jdi.SharedMemoryListen"},
552         {"linux-aarch64",   "com.sun.jdi.SharedMemoryListen"},
553         {"linux-arm",       "com.sun.jdi.SharedMemoryListen"},
554         {"linux-ppc64",     "com.sun.jdi.SharedMemoryListen"},
555         {"linux-ppc64le",   "com.sun.jdi.SharedMemoryListen"},
556         {"linux-s390x",     "com.sun.jdi.SharedMemoryListen"},

557         {"macosx-amd64",    "com.sun.jdi.SharedMemoryListen"},
558         {"mac-x64",         "com.sun.jdi.SharedMemoryListen"},
559         {"macosx-aarch64",  "com.sun.jdi.SharedMemoryListen"},
560         {"mac-aarch64",     "com.sun.jdi.SharedMemoryListen"},
561         {"aix-ppc64",       "com.sun.jdi.SharedMemoryListen"},
562 
563             // launching connectors
564         /*
565          * From docs/technotes/guides/jpda/conninv.html:
566          * "
567          *  Sun Command Line Launching Connector
568          *  This connector can be used by a debugger application to launch a
569          *  Sun VM or any other VM which supports the same invocation options with
570          *  respect to debugging. The details of launching the VM and specifying the
571          *  necessary debug options are handled by the connector. The underlying
572          *  transport used by this connector depends on the platform. On Microsoft
573          *  Windows, the shared memory transport is used. On Linux the socket transport is used.
574          * "
575          */
576         {"linux-i586",      "com.sun.jdi.CommandLineLaunch", "dt_shmem"},

583         {"linux-amd64",     "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
584 
585         {"linux-x64",       "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
586         {"linux-x64",       "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
587 
588         {"linux-aarch64",   "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
589         {"linux-aarch64",   "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
590 
591         {"linux-arm",       "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
592         {"linux-arm",       "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
593 
594         {"linux-ppc64",     "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
595         {"linux-ppc64",     "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
596 
597         {"linux-ppc64le",   "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
598         {"linux-ppc64le",   "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
599 
600         {"linux-s390x",     "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
601         {"linux-s390x",     "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
602 



603         {"windows-i586",    "com.sun.jdi.CommandLineLaunch", "dt_socket"},
604         {"windows-i586",    "com.sun.jdi.RawCommandLineLaunch", "dt_socket"},
605 
606         {"windows-ia64",    "com.sun.jdi.CommandLineLaunch", "dt_socket"},
607         {"windows-ia64",    "com.sun.jdi.RawCommandLineLaunch", "dt_socket"},
608 
609         {"windows-amd64",   "com.sun.jdi.CommandLineLaunch", "dt_socket"},
610         {"windows-amd64",   "com.sun.jdi.RawCommandLineLaunch", "dt_socket"},
611 
612         {"windows-x64",     "com.sun.jdi.CommandLineLaunch", "dt_socket"},
613         {"windows-x64",     "com.sun.jdi.RawCommandLineLaunch", "dt_socket"},
614 
615         {"macosx-amd64",     "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
616         {"macosx-amd64",     "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
617 
618         {"mac-x64",          "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
619         {"mac-x64",          "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
620 
621         {"macosx-aarch64",   "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
622         {"macosx-aarch64",   "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
623 
624         {"mac-aarch64",      "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
625         {"mac-aarch64",      "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
626 
627         {"aix-ppc64",       "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
628         {"aix-ppc64",       "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
629 
630         // shared memory transport is implemented only on windows platform
631         {"linux-i586",      "dt_shmem"},
632         {"linux-ia64",      "dt_shmem"},
633         {"linux-amd64",     "dt_shmem"},
634         {"linux-x64",       "dt_shmem"},
635         {"linux-aarch64",   "dt_shmem"},
636         {"linux-arm",       "dt_shmem"},
637         {"linux-ppc64",     "dt_shmem"},
638         {"linux-ppc64le",   "dt_shmem"},
639         {"linux-s390x",     "dt_shmem"},

640         {"macosx-amd64",    "dt_shmem"},
641         {"mac-x64",         "dt_shmem"},
642         {"macosx-aarch64",  "dt_shmem"},
643         {"mac-aarch64",     "dt_shmem"},
644         {"aix-ppc64",       "dt_shmem"},
645     };
646 }

  1 /*
  2  * Copyright (c) 2001, 2022, Oracle and/or its affiliates. All rights reserved.
  3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  4  *
  5  * This code is free software; you can redistribute it and/or modify it
  6  * under the terms of the GNU General Public License version 2 only, as
  7  * published by the Free Software Foundation.
  8  *
  9  * This code is distributed in the hope that it will be useful, but WITHOUT
 10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 12  * version 2 for more details (a copy is included in the LICENSE file that
 13  * accompanied this code).
 14  *
 15  * You should have received a copy of the GNU General Public License version
 16  * 2 along with this work; if not, write to the Free Software Foundation,
 17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
 18  *
 19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
 20  * or visit www.oracle.com if you need additional information or have any
 21  * questions.
 22  */

512     static final String[][] notImplemented = {
513 
514             // attaching connectors
515         /*
516          * From docs/technotes/guides/jpda/conninv.html:
517          * "
518          *  This connector can be used by a debugger application to attach to
519          *  a currently running target VM through the shared memory transport. It is
520          *  available only on the Microsoft Windows platform.
521          *  "
522          */
523         {"linux-i586",      "com.sun.jdi.SharedMemoryAttach"},
524         {"linux-ia64",      "com.sun.jdi.SharedMemoryAttach"},
525         {"linux-amd64",     "com.sun.jdi.SharedMemoryAttach"},
526         {"linux-x64",       "com.sun.jdi.SharedMemoryAttach"},
527         {"linux-aarch64",   "com.sun.jdi.SharedMemoryAttach"},
528         {"linux-arm",       "com.sun.jdi.SharedMemoryAttach"},
529         {"linux-ppc64",     "com.sun.jdi.SharedMemoryAttach"},
530         {"linux-ppc64le",   "com.sun.jdi.SharedMemoryAttach"},
531         {"linux-s390x",     "com.sun.jdi.SharedMemoryAttach"},
532         {"linux-riscv64",   "com.sun.jdi.SharedMemoryAttach"},
533         {"macosx-amd64",    "com.sun.jdi.SharedMemoryAttach"},
534         {"mac-x64",         "com.sun.jdi.SharedMemoryAttach"},
535         {"macosx-aarch64",  "com.sun.jdi.SharedMemoryAttach"},
536         {"mac-aarch64",     "com.sun.jdi.SharedMemoryAttach"},
537         {"aix-ppc64",       "com.sun.jdi.SharedMemoryAttach"},
538 
539             // listening connectors
540         /*
541          * From docs/technotes/guides/jpda/conninv.html:
542          * "
543          *  This connector can be used by a debugger application to accept a
544          *  connection from  a separately invoked target VM through the shared memory
545          *  transport.
546          *  It is available only on the Microsoft Windows platform.
547          *  "
548          */
549         {"linux-i586",      "com.sun.jdi.SharedMemoryListen"},
550         {"linux-ia64",      "com.sun.jdi.SharedMemoryListen"},
551         {"linux-amd64",     "com.sun.jdi.SharedMemoryListen"},
552         {"linux-x64",       "com.sun.jdi.SharedMemoryListen"},
553         {"linux-aarch64",   "com.sun.jdi.SharedMemoryListen"},
554         {"linux-arm",       "com.sun.jdi.SharedMemoryListen"},
555         {"linux-ppc64",     "com.sun.jdi.SharedMemoryListen"},
556         {"linux-ppc64le",   "com.sun.jdi.SharedMemoryListen"},
557         {"linux-s390x",     "com.sun.jdi.SharedMemoryListen"},
558         {"linux-riscv64",   "com.sun.jdi.SharedMemoryListen"},
559         {"macosx-amd64",    "com.sun.jdi.SharedMemoryListen"},
560         {"mac-x64",         "com.sun.jdi.SharedMemoryListen"},
561         {"macosx-aarch64",  "com.sun.jdi.SharedMemoryListen"},
562         {"mac-aarch64",     "com.sun.jdi.SharedMemoryListen"},
563         {"aix-ppc64",       "com.sun.jdi.SharedMemoryListen"},
564 
565             // launching connectors
566         /*
567          * From docs/technotes/guides/jpda/conninv.html:
568          * "
569          *  Sun Command Line Launching Connector
570          *  This connector can be used by a debugger application to launch a
571          *  Sun VM or any other VM which supports the same invocation options with
572          *  respect to debugging. The details of launching the VM and specifying the
573          *  necessary debug options are handled by the connector. The underlying
574          *  transport used by this connector depends on the platform. On Microsoft
575          *  Windows, the shared memory transport is used. On Linux the socket transport is used.
576          * "
577          */
578         {"linux-i586",      "com.sun.jdi.CommandLineLaunch", "dt_shmem"},

585         {"linux-amd64",     "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
586 
587         {"linux-x64",       "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
588         {"linux-x64",       "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
589 
590         {"linux-aarch64",   "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
591         {"linux-aarch64",   "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
592 
593         {"linux-arm",       "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
594         {"linux-arm",       "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
595 
596         {"linux-ppc64",     "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
597         {"linux-ppc64",     "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
598 
599         {"linux-ppc64le",   "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
600         {"linux-ppc64le",   "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
601 
602         {"linux-s390x",     "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
603         {"linux-s390x",     "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
604 
605         {"linux-riscv64",   "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
606         {"linux-riscv64",   "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
607 
608         {"windows-i586",    "com.sun.jdi.CommandLineLaunch", "dt_socket"},
609         {"windows-i586",    "com.sun.jdi.RawCommandLineLaunch", "dt_socket"},
610 
611         {"windows-ia64",    "com.sun.jdi.CommandLineLaunch", "dt_socket"},
612         {"windows-ia64",    "com.sun.jdi.RawCommandLineLaunch", "dt_socket"},
613 
614         {"windows-amd64",   "com.sun.jdi.CommandLineLaunch", "dt_socket"},
615         {"windows-amd64",   "com.sun.jdi.RawCommandLineLaunch", "dt_socket"},
616 
617         {"windows-x64",     "com.sun.jdi.CommandLineLaunch", "dt_socket"},
618         {"windows-x64",     "com.sun.jdi.RawCommandLineLaunch", "dt_socket"},
619 
620         {"macosx-amd64",     "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
621         {"macosx-amd64",     "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
622 
623         {"mac-x64",          "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
624         {"mac-x64",          "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
625 
626         {"macosx-aarch64",   "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
627         {"macosx-aarch64",   "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
628 
629         {"mac-aarch64",      "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
630         {"mac-aarch64",      "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
631 
632         {"aix-ppc64",       "com.sun.jdi.CommandLineLaunch", "dt_shmem"},
633         {"aix-ppc64",       "com.sun.jdi.RawCommandLineLaunch", "dt_shmem"},
634 
635         // shared memory transport is implemented only on windows platform
636         {"linux-i586",      "dt_shmem"},
637         {"linux-ia64",      "dt_shmem"},
638         {"linux-amd64",     "dt_shmem"},
639         {"linux-x64",       "dt_shmem"},
640         {"linux-aarch64",   "dt_shmem"},
641         {"linux-arm",       "dt_shmem"},
642         {"linux-ppc64",     "dt_shmem"},
643         {"linux-ppc64le",   "dt_shmem"},
644         {"linux-s390x",     "dt_shmem"},
645         {"linux-riscv64",   "dt_shmem"},
646         {"macosx-amd64",    "dt_shmem"},
647         {"mac-x64",         "dt_shmem"},
648         {"macosx-aarch64",  "dt_shmem"},
649         {"mac-aarch64",     "dt_shmem"},
650         {"aix-ppc64",       "dt_shmem"},
651     };
652 }
< prev index next >