diff options
author | Hans Boehm <Hans_Boehm@hp.com> | 2004-08-12 17:56:32 +0000 |
---|---|---|
committer | Hans Boehm <hboehm@gcc.gnu.org> | 2004-08-12 17:56:32 +0000 |
commit | 28e99c6271f33c9f03eb2fda746b40ab1241e3aa (patch) | |
tree | 3a7461936a6778ca24c934e4e01f866aaf0a8c78 /libjava/ChangeLog | |
parent | adf39f8f5f2e1c877fe6b02654e673875c34ddac (diff) | |
download | gcc-28e99c6271f33c9f03eb2fda746b40ab1241e3aa.zip gcc-28e99c6271f33c9f03eb2fda746b40ab1241e3aa.tar.gz gcc-28e99c6271f33c9f03eb2fda746b40ab1241e3aa.tar.bz2 |
re PR libgcj/16662 (IllegalMonitorStateException in EventQueue.getNextEvent(): possible hash synchronization bug?)
PR libgcj/16662
* java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
(Almost everywhere): add LOG calls, fix, add comments.
(_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
Add explicit check for LOCKED bit in slow case (PR 16662).
(_Jv_MonitorExit): Add casts in debug-only code.
Always release LOCKED bit before throwing exception.
(_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
isn't. Handle easy cases without lock acquisition.
(Object::wait): Use NotifyAll for lock inflation.
From-SVN: r85884
Diffstat (limited to 'libjava/ChangeLog')
-rw-r--r-- | libjava/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 2c55540..053ffef 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,16 @@ +2004-08-10 Hans Boehm <Hans.Boehm@hp.com> + + PR libgcj/16662 + * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing. + (Almost everywhere): add LOG calls, fix, add comments. + (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion. + Add explicit check for LOCKED bit in slow case (PR 16662). + (_Jv_MonitorExit): Add casts in debug-only code. + Always release LOCKED bit before throwing exception. + (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock + isn't. Handle easy cases without lock acquisition. + (Object::wait): Use NotifyAll for lock inflation. + 2004-08-12 David Daney <ddaney@avtrex.com> * testsuite/libjava.lang/Process_1.java: New test. |