8023786: (jdk) setjmp/longjmp changes the process signal mask on OS X
Reviewed-by: dholmes
This commit is contained in:
parent
6c97499183
commit
932c79bc4c
jdk/src/share
@ -28,6 +28,12 @@
|
||||
#include "util.h"
|
||||
#include "SDE.h"
|
||||
|
||||
#ifdef __APPLE__
|
||||
/* use setjmp/longjmp versions that do not save/restore the signal mask */
|
||||
#define setjmp _setjmp
|
||||
#define longjmp _longjmp
|
||||
#endif
|
||||
|
||||
/**
|
||||
* This SourceDebugExtension code does not
|
||||
* allow concurrent translation - due to caching method.
|
||||
|
@ -90,6 +90,12 @@
|
||||
#include "classfile_constants.h"
|
||||
#include "opcodes.in_out"
|
||||
|
||||
#ifdef __APPLE__
|
||||
/* use setjmp/longjmp versions that do not save/restore the signal mask */
|
||||
#define setjmp _setjmp
|
||||
#define longjmp _longjmp
|
||||
#endif
|
||||
|
||||
#define MAX_ARRAY_DIMENSIONS 255
|
||||
/* align byte code */
|
||||
#ifndef ALIGN_UP
|
||||
|
Loading…
x
Reference in New Issue
Block a user