src/share/vm/prims/jvmtiThreadState.hpp

changeset 1648
6deeaebad47a
parent 1044
ea20d7ce26b0
child 1907
c18cbe5936b8
     1.1 --- a/src/share/vm/prims/jvmtiThreadState.hpp	Wed Jan 27 22:38:37 2010 -0800
     1.2 +++ b/src/share/vm/prims/jvmtiThreadState.hpp	Mon Feb 01 17:35:05 2010 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright 2003-2006 Sun Microsystems, Inc.  All Rights Reserved.
     1.6 + * Copyright 2003-2010 Sun Microsystems, Inc.  All Rights Reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -381,6 +381,9 @@
    1.11    static ByteSize earlyret_value_offset() { return byte_offset_of(JvmtiThreadState, _earlyret_value); }
    1.12  
    1.13    void oops_do(OopClosure* f); // GC support
    1.14 +
    1.15 +public:
    1.16 +  void set_should_post_on_exceptions(bool val) { _thread->set_should_post_on_exceptions_flag(val ? JNI_TRUE : JNI_FALSE); }
    1.17  };
    1.18  
    1.19  class RedefineVerifyMark : public StackObj {

mercurial