mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-24 04:54:40 +02:00
Merge
This commit is contained in:
commit
93fe673dad
3 changed files with 8 additions and 47 deletions
|
@ -1419,9 +1419,6 @@ void JavaThread::collect_counters(typeArrayOop array) {
|
|||
void JavaThread::initialize() {
|
||||
// Initialize fields
|
||||
|
||||
// Set the claimed par_id to UINT_MAX (ie not claiming any par_ids)
|
||||
set_claimed_par_id(UINT_MAX);
|
||||
|
||||
set_saved_exception_pc(NULL);
|
||||
set_threadObj(NULL);
|
||||
_anchor.clear();
|
||||
|
|
|
@ -1964,14 +1964,6 @@ class JavaThread: public Thread {
|
|||
bool is_attaching_via_jni() const { return _jni_attach_state == _attaching_via_jni; }
|
||||
bool has_attached_via_jni() const { return is_attaching_via_jni() || _jni_attach_state == _attached_via_jni; }
|
||||
inline void set_done_attaching_via_jni();
|
||||
private:
|
||||
// This field is used to determine if a thread has claimed
|
||||
// a par_id: it is UINT_MAX if the thread has not claimed a par_id;
|
||||
// otherwise its value is the par_id that has been claimed.
|
||||
uint _claimed_par_id;
|
||||
public:
|
||||
uint get_claimed_par_id() { return _claimed_par_id; }
|
||||
void set_claimed_par_id(uint id) { _claimed_par_id = id; }
|
||||
};
|
||||
|
||||
// Inline implementation of JavaThread::current
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue