[Bug libgcj/11778] New: System.out PrintStream does too much buffering
bryce at mckinlay dot net dot nz
gcc-bugzilla@gcc.gnu.org
Sun Aug 3 05:50:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11778
Summary: System.out PrintStream does too much buffering
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bryce at mckinlay dot net dot nz
CC: gcc-bugs at gcc dot gnu dot org
Compare the output of the following test case (from current CVS) compared with the JRE or an
earlier libgcj:
public class testOut
{
public static void main(String[] args) throws InterruptedException
{
for (int i=0; i < 20; i++)
{
System.out.print(".");
Thread.sleep(100);
}
}
}
System.out is buffering the output too aggressively.
More information about the Gcc-bugs
mailing list