< prev index next >

test/hotspot/jtreg/runtime/signal/README

Print this page
rev 59103 : imported patch hotspot


  37 In this case no jvm is created, so pure signal testing is done.
  38 
  39 Signal handlers don't do anything, so the only fact that signal handler was called is checked.
  40 Also 2 different ways of setting signal handlers are tested: sigaction, sigset.
  41 
  42 For 'postpre' and 'postpro' libjsig.so is used to chain signal handlers behind VM installed ones.
  43 
  44 => Current tests cover the following cases (don't count 'nojvm' scenario):
  45 1. Support for pre-installed signal handlers when the HotSpot VM is created.
  46 2. Support for signal handler installation after the HotSpot VM is created inside JNI code
  47 
  48 
  49 Notes:
  50 
  51 SIGQUIT, SIGTERM, SIGINT, and SIGHUP signals cannot be chained.
  52 If the application needs to handle these signals, the -Xrs option needs
  53 to be specified. So, test these signals only with -Xrs flag.
  54 
  55 On Linux and Mac OS X, SIGUSR2 is used to implement suspend and resume. So,
  56 don't test SIGUSR2 on Linux and Mac OS X.
  57 
  58 SIGJVM1 and SIGJVM2 exist only on Solaris and are reserved for exclusive use
  59 by the JVM. So don't test SIGJVM1 and SIGJVM2.


  37 In this case no jvm is created, so pure signal testing is done.
  38 
  39 Signal handlers don't do anything, so the only fact that signal handler was called is checked.
  40 Also 2 different ways of setting signal handlers are tested: sigaction, sigset.
  41 
  42 For 'postpre' and 'postpro' libjsig.so is used to chain signal handlers behind VM installed ones.
  43 
  44 => Current tests cover the following cases (don't count 'nojvm' scenario):
  45 1. Support for pre-installed signal handlers when the HotSpot VM is created.
  46 2. Support for signal handler installation after the HotSpot VM is created inside JNI code
  47 
  48 
  49 Notes:
  50 
  51 SIGQUIT, SIGTERM, SIGINT, and SIGHUP signals cannot be chained.
  52 If the application needs to handle these signals, the -Xrs option needs
  53 to be specified. So, test these signals only with -Xrs flag.
  54 
  55 On Linux and Mac OS X, SIGUSR2 is used to implement suspend and resume. So,
  56 don't test SIGUSR2 on Linux and Mac OS X.



< prev index next >