Clean up Solaris signal code: SIGUSR2, SIGasync, SIGJVM1/2

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 10
    • Affects Version/s: 9, 10
    • Component/s: hotspot
    • b21
    • solaris

      We have:

      ./os/solaris/vm/jvm_solaris.h:#define ASYNC_SIGNAL SIGUSR2 /* Watcher & async err support. */

      and then

      ./os/solaris/vm/os_solaris.cpp:int os::Solaris::_SIGasync = ASYNC_SIGNAL;
      ./os/solaris/vm/os_solaris.cpp: print_signal_handler(st, ASYNC_SIGNAL, buf, buflen);

      but SIGUSR2 is not used on Solaris, we use SIGJVM2 and override the initialization of _SIGasync:

      ./os/solaris/vm/os_solaris.cpp: os::Solaris::set_SIGasync(SIGJVM2);

      This should be cleaned up.

            Assignee:
            David Holmes
            Reporter:
            David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: