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]

Re: Object alignment, was: cygwin failures - assertion "!(addr & FLAGS)" failed:


>>>>> "Randall" == Randall R Schulz <rrschulz@cris.com> writes:

Randall> Is stack-based object allocation really feasible for Java
Randall> outside of some very narrow special cases (i.e., when the
Randall> reference to the instance can be proved never to propagate
Randall> outside the method in which it's created)?

Only if you do whole program analysis.  See the IBM Jalapeno paper on
escape analysis for the details.  I suppose it is possible that the
special cases are still interesting.

I doubt gcj will have stack allocation any time soon.  As far as I
know nobody is working on it.  And my guess is there are easier ways
to get performance boosts, for instance type-based optimization on the
trees.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]