This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Synchronization cost regression
- To: "'Jeff Sturm'" <jsturm at one-point dot com>, "Boehm, Hans" <hans_boehm at hp dot com>
- Subject: Synchronization cost regression
- From: "Boehm, Hans" <hans_boehm at hp dot com>
- Date: Wed, 1 Aug 2001 11:31:24 -0700
- Cc: Tom Tromey <tromey at redhat dot com>, Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>, java at gcc dot gnu dot org
I noticed what apppears to be a regression in the synchronization cost with
the the trunk. I recently updated my tree, and some synchronization tests
run 10-20% slower. Looking at the X86 assembly code, a likely culprit seems
to be that _Jv_ThreadSelf is not getting inlined into _Jv_monitorEnter and
_Jv_MonitorExit. Unfortunately, I no longer have the old tree around to
easily verify that this was happening before.
Does it make sense that this would have changed?
What's the proper syntax for
__inline_and_I_really_really_mean_it ?
Hans