--- a/hotspot/src/share/vm/runtime/sharedRuntime.hpp Thu Dec 17 23:36:28 2015 +0000
+++ b/hotspot/src/share/vm/runtime/sharedRuntime.hpp Fri Dec 18 12:39:02 2015 -0800
@@ -30,7 +30,6 @@
#include "interpreter/linkResolver.hpp"
#include "memory/allocation.hpp"
#include "memory/resourceArea.hpp"
-#include "runtime/threadLocalStorage.hpp"
#include "utilities/hashtable.hpp"
#include "utilities/macros.hpp"
@@ -101,6 +100,12 @@
static jfloat frem(jfloat x, jfloat y);
static jdouble drem(jdouble x, jdouble y);
+
+#ifdef _WIN64
+ // Workaround for fmod issue in the Windows x64 CRT
+ static double fmod_winx64(double x, double y);
+#endif
+
#ifdef __SOFTFP__
static jfloat fadd(jfloat x, jfloat y);
static jfloat fsub(jfloat x, jfloat y);
@@ -196,6 +201,8 @@
static void throw_NullPointerException(JavaThread* thread);
static void throw_NullPointerException_at_call(JavaThread* thread);
static void throw_StackOverflowError(JavaThread* thread);
+ static void throw_delayed_StackOverflowError(JavaThread* thread);
+ static void throw_StackOverflowError_common(JavaThread* thread, bool delayed);
static address continuation_for_implicit_exception(JavaThread* thread,
address faulting_pc,
ImplicitExceptionKind exception_kind);
@@ -203,6 +210,9 @@
static address deoptimize_for_implicit_exception(JavaThread* thread, address pc, nmethod* nm, int deopt_reason);
#endif
+ static void enable_stack_reserved_zone(JavaThread* thread);
+ static frame look_for_reserved_stack_annotated_method(JavaThread* thread, frame fr);
+
// Shared stub locations
static address get_poll_stub(address pc);