[jruby-dev] [jira] Created: (JRUBY-1446) FileUtils#mkdir_p causes test suites to not register if the mkdir_p argument already exists

2007-10-17 Thread Evan Weaver (JIRA)
FileUtils#mkdir_p causes test suites to not register if the mkdir_p argument already exists --- Key: JRUBY-1446 URL: http://jira.codehaus.org/browse/JRUBY-1446 Pr

Re: [jruby-dev] Obscure test/unit interaction problems

2007-10-17 Thread Charles Oliver Nutter
Evan Weaver wrote: All right, here goes: 1. I can't reproduce this. Is the problem that closing the acceptor thread doesn't block on JRuby? Or is it that the thread dies, but the system still takes a few moments to release the socket? There are multiple layers of threads here. First off, the a

[jruby-dev] New Wiki Page: Success Stories

2007-10-17 Thread Charles Oliver Nutter
Since it appears a few people have success stories they'd like to share related to JRuby, there's a new page in the wiki you can add them to: http://www.headius.com/jrubywiki/index.php/Success_Stories - Charlie - To unsubscrib

Re: [jruby-dev] Obscure test/unit interaction problems

2007-10-17 Thread Evan Weaver
All right, here goes: 1. I can't reproduce this. Is the problem that closing the acceptor thread doesn't block on JRuby? Or is it that the thread dies, but the system still takes a few moments to release the socket? 2. FileUtils#mkdir_p causes test suites to not register if the mkdir_p argument a

[jruby-dev] [jira] Created: (JRUBY-1445) XML parsing error in unicode characters

2007-10-17 Thread Changshin Lee (JIRA)
XML parsing error in unicode characters --- Key: JRUBY-1445 URL: http://jira.codehaus.org/browse/JRUBY-1445 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Environment: M

Re: [jruby-dev] Vars code has landed

2007-10-17 Thread Charles Oliver Nutter
Bill Dortch wrote: - Need fast attr reader/writer DynamicMethod classes in place of callbacks, as this is 2X slower now than direct ivar access. This should be easy enough to do...I even made the change once before but any improvement was lost in the overhead of ivar access. Also, we hadn't

Re: [jruby-dev] Obscure test/unit interaction problems

2007-10-17 Thread Charles Oliver Nutter
Evan Weaver wrote: Thanks very much. I'll work through your suggestions and report back. My Java version is whatever OS X 10.4.10 has given me: mackenzie:~ eweaver$ java -version java version "1.5.0_07" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164) Java HotSpot(TM) Clien

[jruby-dev] Severe REXML bottleneck

2007-10-17 Thread Charles Oliver Nutter
Also blogged here: http://headius.blogspot.com/2007/10/another-performance-discovery-rexml.html I've discovered a really awful bottleneck in REXML processing. Look at these results for parsing our build.xml: read content from stream, no DOM 2.592000 0.00 2.592000 ( 2.592000) 1.326

Re: [jruby-dev] Obscure test/unit interaction problems

2007-10-17 Thread Evan Weaver
Thanks very much. I'll work through your suggestions and report back. My Java version is whatever OS X 10.4.10 has given me: mackenzie:~ eweaver$ java -version java version "1.5.0_07" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164) Java HotSpot(TM) Client VM (build 1.5.0_07-

Re: [jruby-dev] Obscure test/unit interaction problems

2007-10-17 Thread Charles Oliver Nutter
Evan Weaver wrote: Hi JRuby-devs, I'm working on the official JRuby Mongrel port, with the help of Nick, and I've run into some strange interaction issues with test/unit: http://pastie.caboo.se/108014 #1 test_configurator bombing out for me First problem I had was line 85 in test_configurato

Re: [jruby-dev] Obscure test/unit interaction problems

2007-10-17 Thread MenTaLguY
Actually, this depends on whether the other threads got their reference to the RubyThread through correctly synchronized means. So long as they did, everything should be okay. But getting an NPE from an attempt to call through threadImpl makes it sound like things aren't... -mental On Wed, 17 O

Re: [jruby-dev] Obscure test/unit interaction problems

2007-10-17 Thread MenTaLguY
On Wed, 17 Oct 2007 9:20:47 -0700, MenTaLguY <[EMAIL PROTECTED]> wrote: > I'd actually be a little surprised if that was the problem here, but > it seems like something that should be addressed at some point, probably > by making threadImpl a final field. Actually, a number of the fields of RubyTh

Re: [jruby-dev] Obscure test/unit interaction problems

2007-10-17 Thread MenTaLguY
On Wed, 17 Oct 2007 10:39:10 -0500, Charles Oliver Nutter <[EMAIL PROTECTED]> wrote: > Well now that is unusual. I've never seen or expected it to be possible > to have Thread#setPriority throw a NPE. I'll poke around a bit on that > one. One issue is that threads which do not descend from the Ja

Re: [jruby-dev] Obscure test/unit interaction problems

2007-10-17 Thread Charles Oliver Nutter
Evan Weaver wrote: Hi JRuby-devs, I'm working on the official JRuby Mongrel port, with the help of Nick, and I've run into some strange interaction issues with test/unit: http://pastie.caboo.se/108014 Well now that is unusual. I've never seen or expected it to be possible to have Thread#setP

[jruby-dev] Obscure test/unit interaction problems

2007-10-17 Thread Evan Weaver
Hi JRuby-devs, I'm working on the official JRuby Mongrel port, with the help of Nick, and I've run into some strange interaction issues with test/unit: http://pastie.caboo.se/108014 The whole mess of tests will run fine on MRI. On JRuby, they behave as above, and due to the test_debug issue, not

[jruby-dev] [jira] Created: (JRUBY-1444) Gem signing gives an IllegalArgumentException

2007-10-17 Thread Nick Sieger (JIRA)
Gem signing gives an IllegalArgumentException - Key: JRUBY-1444 URL: http://jira.codehaus.org/browse/JRUBY-1444 Project: JRuby Issue Type: Bug Components: Extensions Affects Versions: