提交 469ef1eb 编写于 作者: S sla

8023786: (jdk) setjmp/longjmp changes the process signal mask on OS X

Reviewed-by: dholmes
上级 1281ac53
...@@ -28,6 +28,12 @@ ...@@ -28,6 +28,12 @@
#include "util.h" #include "util.h"
#include "SDE.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 * This SourceDebugExtension code does not
* allow concurrent translation - due to caching method. * allow concurrent translation - due to caching method.
......
...@@ -90,6 +90,12 @@ ...@@ -90,6 +90,12 @@
#include "classfile_constants.h" #include "classfile_constants.h"
#include "opcodes.in_out" #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 #define MAX_ARRAY_DIMENSIONS 255
/* align byte code */ /* align byte code */
#ifndef ALIGN_UP #ifndef ALIGN_UP
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册