This is the mail archive of the
java-discuss@sourceware.cygnus.com
mailing list for the Java project.
Re: Interrupted IO and AWT
>>>>> "Jeff" == Jeff Sturm <jsturm@sigma6.com> writes:
Jeff> Surely the compiler could detect this in some cases... are you
Jeff> saying it could be detected at runtime as well?
The compiler can detect it, but my understanding is that in some
situations you must dynamically mark the object to get the real
benefit. It's probable I misunderstood the paper, though.
Jeff> Tom, I think you mentioned once the use of locks for Java string
Jeff> concatenation:
Yeah, but this is one we should do preemptively -- it might be a while
before we implement stack allocation &c in the compiler, but for this
we can just generate calls to a non-locking StringBuffer analogue.
Unfortunately this has been pretty low priority.
Tom