src/share/vm/prims/jvmtiThreadState.hpp

changeset 3468
af739d5ab23c
parent 2314
f95d63e2154a
child 3900
d2a62e0f25eb
     1.1 --- a/src/share/vm/prims/jvmtiThreadState.hpp	Wed Jan 11 17:58:26 2012 -0500
     1.2 +++ b/src/share/vm/prims/jvmtiThreadState.hpp	Sat Jan 21 23:02:40 2012 -0500
     1.3 @@ -165,6 +165,10 @@
     1.4    inline bool is_exception_caught()    { return _exception_caught;  }
     1.5    inline void set_exception_detected() { _exception_detected = true;
     1.6                                           _exception_caught = false; }
     1.7 +  inline void clear_exception_detected() {
     1.8 +    _exception_detected = false;
     1.9 +    assert(_exception_caught == false, "_exception_caught is out of phase");
    1.10 +  }
    1.11    inline void set_exception_caught()   { _exception_caught = true;
    1.12                                           _exception_detected = false; }
    1.13  

mercurial