1.1 --- a/src/share/vm/utilities/accessFlags.hpp Mon Nov 03 12:02:40 2014 -0800 1.2 +++ b/src/share/vm/utilities/accessFlags.hpp Thu Oct 02 10:55:36 2014 +0200 1.3 @@ -170,6 +170,7 @@ 1.4 1.5 // Atomic update of flags 1.6 void atomic_set_bits(jint bits); 1.7 + bool atomic_set_one_bit(jint bit); 1.8 void atomic_clear_bits(jint bits); 1.9 1.10 private: 1.11 @@ -230,12 +231,13 @@ 1.12 atomic_set_bits(JVM_ACC_FIELD_HAS_GENERIC_SIGNATURE); 1.13 } 1.14 1.15 - void set_on_stack(const bool value) 1.16 + bool set_on_stack(const bool value) 1.17 { 1.18 if (value) { 1.19 - atomic_set_bits(JVM_ACC_ON_STACK); 1.20 + return atomic_set_one_bit(JVM_ACC_ON_STACK); 1.21 } else { 1.22 atomic_clear_bits(JVM_ACC_ON_STACK); 1.23 + return true; // Ignored 1.24 } 1.25 } 1.26 // Conversion