This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/17438] New: clean up thread native state using phantom reference
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Sep 2004 16:54:58 -0000
- Subject: [Bug libgcj/17438] New: clean up thread native state using phantom reference
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Currently our Thread native state object is handled
by a finalizer. This runs into ordering problems however.
Instead we can use a phantom reference and a reference
queue to ensure this object is only cleaned up once
it is truly dead.
See this thread:
http://gcc.gnu.org/ml/java-patches/2004-q3/msg00855.html
--
Summary: clean up thread native state using phantom reference
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tromey at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17438