src/share/vm/prims/jvmtiThreadState.hpp

changeset 1648
6deeaebad47a
parent 1044
ea20d7ce26b0
child 1907
c18cbe5936b8
equal deleted inserted replaced
1631:f3345b7b01b4 1648:6deeaebad47a
1 /* 1 /*
2 * Copyright 2003-2006 Sun Microsystems, Inc. All Rights Reserved. 2 * Copyright 2003-2010 Sun Microsystems, Inc. All Rights Reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 * 4 *
5 * This code is free software; you can redistribute it and/or modify it 5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as 6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
379 static ByteSize earlyret_tos_offset() { return byte_offset_of(JvmtiThreadState, _earlyret_tos); } 379 static ByteSize earlyret_tos_offset() { return byte_offset_of(JvmtiThreadState, _earlyret_tos); }
380 static ByteSize earlyret_oop_offset() { return byte_offset_of(JvmtiThreadState, _earlyret_oop); } 380 static ByteSize earlyret_oop_offset() { return byte_offset_of(JvmtiThreadState, _earlyret_oop); }
381 static ByteSize earlyret_value_offset() { return byte_offset_of(JvmtiThreadState, _earlyret_value); } 381 static ByteSize earlyret_value_offset() { return byte_offset_of(JvmtiThreadState, _earlyret_value); }
382 382
383 void oops_do(OopClosure* f); // GC support 383 void oops_do(OopClosure* f); // GC support
384
385 public:
386 void set_should_post_on_exceptions(bool val) { _thread->set_should_post_on_exceptions_flag(val ? JNI_TRUE : JNI_FALSE); }
384 }; 387 };
385 388
386 class RedefineVerifyMark : public StackObj { 389 class RedefineVerifyMark : public StackObj {
387 private: 390 private:
388 JvmtiThreadState *_state; 391 JvmtiThreadState *_state;

mercurial