public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/21703] New: hang when rapidly calling String.intern()
@ 2005-05-21 19:55 debian-gcc at lists dot debian dot org
  2005-05-21 20:09 ` [Bug libgcj/21703] " pinskia at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2005-05-21 19:55 UTC (permalink / raw)
  To: gcc-bugs

[ forwarded from http://bugs.debian.org/275547 ]

falk@juist:/tmp% cat Test.java
class Test {
    public static void main(String[] argv) {
        for (char i = '\u0001'; i <= '\uffff'; i++) {
            char[] ca = { i };
            System.out.println("Interning "+((int)i)+"th String");
            (new String(ca)).intern();
        }
    }
}
falk@juist:/tmp% gcj-3.4 -o Test --main=Test Test.java  && ./Test 
[...]
Interning 16380th String
Interning 16381th String
Interning 16382th String
Interning 16383th String
Interning 16384th String
[hangs infintely]

See also some analysis at the URL above. Also present in 3.3.

-- 
           Summary: hang when rapidly calling String.intern()
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21703


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-05-25 15:25 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-21 19:55 [Bug java/21703] New: hang when rapidly calling String.intern() debian-gcc at lists dot debian dot org
2005-05-21 20:09 ` [Bug libgcj/21703] " pinskia at gcc dot gnu dot org
2005-05-21 20:14 ` pinskia at gcc dot gnu dot org
2005-05-21 23:48 ` tromey at gcc dot gnu dot org
2005-05-21 23:56 ` tromey at gcc dot gnu dot org
2005-05-22  0:38 ` tromey at gcc dot gnu dot org
2005-05-22  1:05 ` cvs-commit at gcc dot gnu dot org
2005-05-22  1:06 ` tromey at gcc dot gnu dot org
2005-05-25 15:25 ` cvs-commit at gcc dot gnu dot org
2005-05-25 15:26 ` tromey at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).