This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hans,
I have a problem before merging this code to the trunk.
Accesses to String and Class constants is now slower than before. Previously, such an access was simply
_CD_<class>[N]
where _CD_<class> was an array in the initialized data section. With PIC, this simply generated a PC+offset fetch instruction:
movq 8+_CD_q(%rip), %rax
Now that we aren't scanning the data sections of objects, we have to do something like
class$->constants.data[i]
. . .
I agree with that. I just need a little help understanding the issue.Clearly, ceasing to scan shared objects conservatively is a big advance for gcj, but I'd prefer it not to be accompanied by regressions in code quality.
Thanks, David Daney
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |