gcc/libjava ChangeLog java/lang/natObject.cc
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Wed Oct 6 22:47:00 GMT 2004
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-rhl-branch
Changes by: jakub@gcc.gnu.org 2004-10-06 22:47:30
Modified files:
libjava : ChangeLog
libjava/java/lang: natObject.cc
Log message:
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.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-rhl-branch&r1=1.2562.2.16.2.7&r2=1.2562.2.16.2.8
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/java/lang/natObject.cc.diff?cvsroot=gcc&only_with_tag=gcc-3_4-rhl-branch&r1=1.29&r2=1.29.18.1
More information about the Gcc-cvs
mailing list