Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2038082 | 1.4.0 | Steve Goldman | P3 | Closed | Fixed | beta |
Problem:
this->thread_id = t->osthread()->thread_id();
"/h/emile/hotspot/hotspot13-compiler2rc-src-solsparc/src/share/vm/utilities/
events.cpp",
line 139: error(494):
no suitable conversion function from "pthread_t" to "int" exists
Analysis:
The statement assigns a thread_t to an int.
"this" is an Event (events.cpp #139 in Event::fill)
"thread_id" is an int (events.cpp #27 in class Event)
"t" is a Thread* (events.cpp #134 in Event::fill)
"osthread()" is an OSThread* (thread.hpp #154 and #210 in class
Thread)
"thread_id()" is a thread_t (osThread_solaris.hpp #23 and #19 in
class OSThread)
Remark:
thread_t is a platform-dependent type. On Tandem, it is not
assignment
compatible to int.
Tandem would like to see this bug fixed in jdk1.3.1.
this->thread_id = t->osthread()->thread_id();
"/h/emile/hotspot/hotspot13-compiler2rc-src-solsparc/src/share/vm/utilities/
events.cpp",
line 139: error(494):
no suitable conversion function from "pthread_t" to "int" exists
Analysis:
The statement assigns a thread_t to an int.
"this" is an Event (events.cpp #139 in Event::fill)
"thread_id" is an int (events.cpp #27 in class Event)
"t" is a Thread* (events.cpp #134 in Event::fill)
"osthread()" is an OSThread* (thread.hpp #154 and #210 in class
Thread)
"thread_id()" is a thread_t (osThread_solaris.hpp #23 and #19 in
class OSThread)
Remark:
thread_t is a platform-dependent type. On Tandem, it is not
assignment
compatible to int.
Tandem would like to see this bug fixed in jdk1.3.1.
- backported by
-
JDK-2038082 no suitable conversion function from "pthread_t" to "int" exists
-
- Closed
-