src/os/bsd/vm/jvm_bsd.h
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
7089790_bsd_vs_linux Cdiff src/os/bsd/vm/jvm_bsd.h
src/os/bsd/vm/jvm_bsd.h
Print this page
rev 2698 : new bsd files
*** 20,31 ****
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
! #ifndef OS_LINUX_VM_JVM_LINUX_H
! #define OS_LINUX_VM_JVM_LINUX_H
/*
// HotSpot integration note:
//
// This is derived from the JDK classic file:
--- 20,31 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
! #ifndef OS_BSD_VM_JVM_BSD_H
! #define OS_BSD_VM_JVM_BSD_H
/*
// HotSpot integration note:
//
// This is derived from the JDK classic file:
*** 52,66 ****
#define AGENT_ONLOAD_SYMBOLS {"Agent_OnLoad"}
#define AGENT_ONUNLOAD_SYMBOLS {"Agent_OnUnload"}
#define AGENT_ONATTACH_SYMBOLS {"Agent_OnAttach"}
#define JNI_LIB_PREFIX "lib"
#define JNI_LIB_SUFFIX ".so"
! // Hack: MAXPATHLEN is 4095 on some Linux and 4096 on others. This may
// cause problems if JVM and the rest of JDK are built on different
! // Linux releases. Here we define JVM_MAXPATHLEN to be MAXPATHLEN + 1,
// so buffers declared in VM are always >= 4096.
#define JVM_MAXPATHLEN MAXPATHLEN + 1
#define JVM_R_OK R_OK
#define JVM_W_OK W_OK
--- 52,70 ----
#define AGENT_ONLOAD_SYMBOLS {"Agent_OnLoad"}
#define AGENT_ONUNLOAD_SYMBOLS {"Agent_OnUnload"}
#define AGENT_ONATTACH_SYMBOLS {"Agent_OnAttach"}
#define JNI_LIB_PREFIX "lib"
+ #ifdef __APPLE__
+ #define JNI_LIB_SUFFIX ".dylib"
+ #else
#define JNI_LIB_SUFFIX ".so"
+ #endif
! // Hack: MAXPATHLEN is 4095 on some Bsd and 4096 on others. This may
// cause problems if JVM and the rest of JDK are built on different
! // Bsd releases. Here we define JVM_MAXPATHLEN to be MAXPATHLEN + 1,
// so buffers declared in VM are always >= 4096.
#define JVM_MAXPATHLEN MAXPATHLEN + 1
#define JVM_R_OK R_OK
#define JVM_W_OK W_OK
*** 91,102 ****
#define INTERRUPT_SIGNAL SIGUSR1 /* Interruptible I/O support. */
#define SHUTDOWN1_SIGNAL SIGHUP /* Shutdown Hooks support. */
#define SHUTDOWN2_SIGNAL SIGINT
#define SHUTDOWN3_SIGNAL SIGTERM
#endif /* JVM_MD_H */
// Reconciliation History
// jvm_solaris.h 1.6 99/06/22 16:38:47
// End
! #endif // OS_LINUX_VM_JVM_LINUX_H
--- 95,120 ----
#define INTERRUPT_SIGNAL SIGUSR1 /* Interruptible I/O support. */
#define SHUTDOWN1_SIGNAL SIGHUP /* Shutdown Hooks support. */
#define SHUTDOWN2_SIGNAL SIGINT
#define SHUTDOWN3_SIGNAL SIGTERM
+ #ifndef SIGRTMIN
+ #ifdef __OpenBSD__
+ #define SIGRTMIN 1
+ #else
+ #define SIGRTMIN 33
+ #endif
+ #endif
+ #ifndef SIGRTMAX
+ #ifdef __OpenBSD__
+ #define SIGRTMAX 31
+ #else
+ #define SIGRTMAX 63
+ #endif
+ #endif
#endif /* JVM_MD_H */
// Reconciliation History
// jvm_solaris.h 1.6 99/06/22 16:38:47
// End
! #endif // OS_BSD_VM_JVM_BSD_H
src/os/bsd/vm/jvm_bsd.h
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File