This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [RFA/JVMTI] Better env list locking
- From: Tom Tromey <tromey at redhat dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: Java Patch List <java-patches at gcc dot gnu dot org>
- Date: 02 Feb 2007 02:30:42 -0700
- Subject: Re: [RFA/JVMTI] Better env list locking
- References: <45C287E4.3090705@redhat.com>
- Reply-to: tromey at redhat dot com
>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:
Keith> A long time ago, I noted errors in the environment list locking in
Keith> jvmti.cc. Well, at long last, the time has come to fix it. With the
Keith> recent merge, we now have access to ReentrantReadWriteLock, which is
Keith> what is now used to lock the environment list.
Keith> Comments/questions/concerns?
Can post_event or any callback it calls possibly throw an exception?
If so that will leave the lock held.
If not this is ok. Thanks.
Tom