From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14901 invoked by alias); 3 Aug 2003 05:50:47 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 14894 invoked by uid 48); 3 Aug 2003 05:50:46 -0000 Date: Sun, 03 Aug 2003 05:50:00 -0000 From: "bryce at mckinlay dot net dot nz" To: gcc-bugs@gcc.gnu.org Message-ID: <20030803055046.11778.bryce@mckinlay.net.nz> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libgcj/11778] New: System.out PrintStream does too much buffering X-Bugzilla-Reason: CC X-SW-Source: 2003-08/txt/msg00168.txt.bz2 List-Id: 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.