hotspot/src/share/vm/runtime/javaCalls.cpp
changeset 35071 a0910b1d3e0d
parent 34238 60e87df08f1e
child 35479 62c12ca7a45e
--- a/hotspot/src/share/vm/runtime/javaCalls.cpp	Fri Dec 11 13:18:10 2015 +0000
+++ b/hotspot/src/share/vm/runtime/javaCalls.cpp	Fri Dec 11 09:07:07 2015 -0800
@@ -371,9 +371,9 @@
   // Find receiver
   Handle receiver = (!method->is_static()) ? args->receiver() : Handle();
 
-  // When we reenter Java, we need to reenable the yellow zone which
+  // When we reenter Java, we need to reenable the reserved/yellow zone which
   // might already be disabled when we are in VM.
-  if (thread->stack_yellow_zone_disabled()) {
+  if (!thread->stack_guards_enabled()) {
     thread->reguard_stack();
   }