This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libgcj/8547: JNI stubs not synchronized
- From: tromey at redhat dot com
- To: gcc-gnats at gcc dot gnu dot org
- Date: 12 Nov 2002 14:10:08 -0000
- Subject: libgcj/8547: JNI stubs not synchronized
- Reply-to: tromey at redhat dot com
>Number: 8547
>Category: libgcj
>Synopsis: JNI stubs not synchronized
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 12 06:16:05 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Tom Tromey
>Release: unknown-1.0
>Organization:
>Environment:
>Description:
Compile a class with `-fjni'.
Native synchronized methods in that class won't
acquire a mutex. (Interpreted native methods
work fine.)
One fix would be to add the appropriate synchronization
calls to the stub.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: