[PATCH] libffi .eh_frame tweaks
Tom Tromey
tromey@redhat.com
Mon Apr 28 23:22:00 GMT 2003
>>>>> "Anthony" == Anthony Green <green@redhat.com> writes:
Anthony> Thanks Jakub. I understand that this can result in huge
Anthony> performance wins, but I don't understand enough to understand
Anthony> why. Is it just a matter of eliminating some relocation
Anthony> processing at startup?
It only affects programs that do a lot of stack crawling -- lots of
exception handling, say. My understanding is that this patch lets the
linker put all the libgcj dwarf2 data into a read-only section, and
that in turn lets libgcc use a binary search to map the PC to the
correct descriptor. Without the patch we have to use a linear search.
Tom
More information about the Java-patches
mailing list