Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8175817

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9, 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b21
    • OS:
      solaris

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: