This is the mail archive of the java-patches@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] |
It seems that tail call optimization can break Java. Such optimizations didn't used to matter, since all that happened was that we'd get an inaccurate backtrace. Nowadays, we use that backtrace to find the class loader of a caller, and sibcalls breaks that.
Another fix might allow sibcalls when calling a method that we know will be loaded by the same class loader. However, accurate debugging backtraces are very useful, and Java users expect them. Comments welcome...
Andrew.
Thanks, Andrew Pinski
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |