Re: [jruby-dev] Improving load time by parallelizing load/parse?

2011-10-26 Thread Hiroshi Nakamura
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Thanks Charles and Tom, now I understood what's going on. https://github.com/headius/jruby/commit/f56610ee6ef01f0421301d9e2941493e9fa4e29d I love JRuby, since I can try a concept of language implementation with small change like this. On 10/26/2

[jruby-dev] [jira] Created: (JRUBY-6159) uninitialized constant Settings if using rails_config gem.

2011-10-26 Thread Mauro (JIRA)
uninitialized constant Settings if using rails_config gem. -- Key: JRUBY-6159 URL: https://jira.codehaus.org/browse/JRUBY-6159 Project: JRuby Issue Type: Bug Environment: jruby

Re: [jruby-dev] Removing COW from Array, with results

2011-10-26 Thread Thomas E Enebo
Does anyone do a lot of sliciing (e.g. things like [1...100]) in their apps. Are they big arrays? Does anyone know a library which does? -Tom On Tue, Oct 25, 2011 at 6:46 PM, Charles Oliver Nutter wrote: > Long ago when the world was new, Marcin Mielzynski modified our Array > implementation t

Re: [jruby-dev] Removing COW from Array, with results

2011-10-26 Thread Bob McWhirter
Typical case I've used it was to slice things for columnar display. I end up using the entire array, but just in N chunks of M items at a time. I don't recall ever taking a slice and discarding the rest. fwiw. -Bob On Oct 26, 2011, at 9:28 AM, Thomas E Enebo wrote: > Does anyone do

Re: [jruby-dev] Removing COW from Array, with results

2011-10-26 Thread Thomas E Enebo
>From what I recall we did have one user who did have this problem and it was something like mail processing where all header lines got sliced from an array of the entire email and then retained... :) In this case, the COW leak was nearly impossible to understand until visually inspecting the lin

[jruby-dev] [jira] Created: (JRUBY-6161) Windows Installer: provide method for migrating from old version to new version

2011-10-26 Thread Nick Klauer (JIRA)
Windows Installer: provide method for migrating from old version to new version --- Key: JRUBY-6161 URL: https://jira.codehaus.org/browse/JRUBY-6161 Project: JRuby I

[jruby-dev] [jira] Created: (JRUBY-6160) BigDecimal Issue in Rails 3.1.1 Environment

2011-10-26 Thread Hirankit Tantirapan (JIRA)
BigDecimal Issue in Rails 3.1.1 Environment --- Key: JRUBY-6160 URL: https://jira.codehaus.org/browse/JRUBY-6160 Project: JRuby Issue Type: Bug Components: Ruby 1.9.2 Affects Versions: JR

[jruby-dev] [jira] Created: (JRUBY-6162) IO.popen doesn't wait until a process ends but returns immediately

2011-10-26 Thread Heiko Seebach (JIRA)
IO.popen doesn't wait until a process ends but returns immediately -- Key: JRUBY-6162 URL: https://jira.codehaus.org/browse/JRUBY-6162 Project: JRuby Issue Type: Bug C

[jruby-dev] Code review: configuration cleanup and centralization

2011-10-26 Thread Charles Oliver Nutter
I finally tackled the cleanup and centralization of all property-based JRuby configs. They were sprinkled all over as simple property loads, with many of them left undocumented and some others completely stale and unused. The new structure centralizes all properties in one place along with their va

[jruby-dev] Re: Code review: configuration cleanup and centralization

2011-10-26 Thread Charles Oliver Nutter
Ok, found the first botch...I didn't commit the Properties class :) https://github.com/headius/jruby/commit/78df8e1987f780b27d3343b19a9bff5f16fadc15 - Charlie On Wed, Oct 26, 2011 at 10:15 AM, Charles Oliver Nutter wrote: > I finally tackled the cleanup and centralization of all property-based

Re: [jruby-dev] Code review: configuration cleanup and centralization

2011-10-26 Thread Nick Sieger
Looks good for the most part. Two things I'd like to see: 1. Put the descriptions in javadocs for each field. API docs are going to be more popular for browsing the full set of configuration options. Does the description/toString ever get used in a meaningful way? 2. Do away with the static-ness o

Re: [jruby-dev] Code review: configuration cleanup and centralization

2011-10-26 Thread Charles Oliver Nutter
On Wed, Oct 26, 2011 at 11:05 AM, Nick Sieger wrote: > Looks good for the most part. Two things I'd like to see: > > 1. Put the descriptions in javadocs for each field. API docs are going > to be more popular for browsing the full set of configuration options. > Does the description/toString ever

[jruby-dev] [jira] Created: (JRUBY-6163) 1.6.5 Broken on OpenBSD due to generate-ri-cache ant target failing

2011-10-26 Thread Jeremy Evans (JIRA)
1.6.5 Broken on OpenBSD due to generate-ri-cache ant target failing --- Key: JRUBY-6163 URL: https://jira.codehaus.org/browse/JRUBY-6163 Project: JRuby Issue Type: Bug Affec

[jruby-dev] [jira] Created: (JRUBY-6164) malloc error trying to run rails 3.1 app on thin

2011-10-26 Thread Mat Schaffer (JIRA)
malloc error trying to run rails 3.1 app on thin Key: JRUBY-6164 URL: https://jira.codehaus.org/browse/JRUBY-6164 Project: JRuby Issue Type: Bug Components: C Extensions Affects

[jruby-dev] [jira] Created: (JRUBY-6165) IO.popen forcibly kills process when io is closed

2011-10-26 Thread Nick Sieger (JIRA)
IO.popen forcibly kills process when io is closed - Key: JRUBY-6165 URL: https://jira.codehaus.org/browse/JRUBY-6165 Project: JRuby Issue Type: Bug Components: Core Classes/Modules

Re: [jruby-dev] Code review: configuration cleanup and centralization

2011-10-26 Thread Thomas E Enebo
On Wed, Oct 26, 2011 at 11:11 AM, Charles Oliver Nutter wrote: > On Wed, Oct 26, 2011 at 11:05 AM, Nick Sieger wrote: >> Looks good for the most part. Two things I'd like to see: >> >> 1. Put the descriptions in javadocs for each field. API docs are going >> to be more popular for browsing the fu

[jruby-dev] [jira] Created: (JRUBY-6166) can't create db

2011-10-26 Thread richardli (JIRA)
can't create db Key: JRUBY-6166 URL: https://jira.codehaus.org/browse/JRUBY-6166 Project: JRuby Issue Type: Bug Components: Rails WAR Deployment Reporter: richardli hey,I am a new user for rails,and