Interrupted IO and AWT
Tom Tromey
tromey@cygnus.com
Sat Apr 1 00:00:00 GMT 2000
>>>>> "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
More information about the Java
mailing list