This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 165472 - Messages are late in chat
Summary: Messages are late in chat
Status: VERIFIED INVALID
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Chat (show other bugs)
Version: 6.x
Hardware: Macintosh Mac OS X
: P2 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2009-05-19 10:12 UTC by Jaromir Uhrik
Modified: 2009-12-15 08:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Zipped profiler data (356.90 KB, application/x-compressed)
2009-05-19 10:16 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2009-05-19 10:12:47 UTC
Product Version: NetBeans IDE Dev (Build 200905190201)
Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133
System: Mac OS X version 10.5.7 running on i386; MacRoman; en_US (nb)

When I enter a message it sometimes takes up to ~1 minute when it appears in the messages list. When I use the native
client everything is allright, this appears only in NetBeans chat client. Not only messages send by me are late, also
messages sent by others appear late in IDE. I am attaching snapshots from profiler (switched on before Entering a
message and switched off after the message appeared in the messages list above the input textfield).
Comment 1 Jaromir Uhrik 2009-05-19 10:16:14 UTC
Created attachment 82369 [details]
Zipped profiler data
Comment 2 Marian Mirilovic 2009-05-19 10:53:18 UTC
21s in java.net.SocketInputStream.socketRead[native]

Jara, you are using Mac, aren't you ?

not reproducible on Ubuntu 9.04 64b
Comment 3 Jaromir Uhrik 2009-05-19 12:54:42 UTC
Yes I am using mac. It is visible from the first line of the report;-)
Comment 4 Jan Becicka 2009-05-19 13:02:56 UTC
It looks like JDK bug.
???
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5092063 

Anyway can you test it with some other xmpp java client. Spark for instance?

socket.accept is also slow for CLIHandler... not only for chat.

Can you test on JDK 1.6?

Thanks

Comment 5 Jan Becicka 2009-05-21 13:52:00 UTC
Need to know behavior with JDK 6 and Spark IM client
Comment 6 Jan Becicka 2009-08-06 10:32:05 UTC
Is this issue still valid?
Comment 7 Jaromir Uhrik 2009-09-18 16:21:10 UTC
Issue is not reproducible now. Marking ase INVALID.
Comment 8 Jaromir Uhrik 2009-12-15 08:47:27 UTC
It is not possible to reproduce. Verified in:
Product Version: NetBeans IDE Dev (Build 200912150200)
Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01-101
System: Mac OS X version 10.5.8 running on x86_64; MacRoman; en_US (nb)