Re: RFC: JDK-8031043: ClassValue's backing map should have a smaller initial size

2014-01-09 Thread Jochen Theodorou
Am 08.01.2014 21:45, schrieb Christian Thalinger: [...] > If we’d go with an initial value of 1 would it be a performance problem for > you if it grows automatically? that means the map will have to grow for hundreds of classes at startup. I don't know how much impact that will have bye Jochen

Re: State of lambda forms stealing stack frames?

2014-01-09 Thread Vladimir Ivanov
Jochen, There's some work going on to reduce heap and stack usage for LambdaForm-based JSR292 implementation in 8update. Backporting it to 7u will be also considered. Best regards, Vladimir Ivanov On 1/7/14 7:55 PM, Jochen Theodorou wrote: > Am 06.01.2014 19:48, schrieb Andrew Haley: > [...] >

Re: RFC: JDK-8031043: ClassValue's backing map should have a smaller initial size

2014-01-09 Thread Christian Thalinger
On Jan 9, 2014, at 2:46 AM, Jochen Theodorou wrote: > Am 08.01.2014 21:45, schrieb Christian Thalinger: > [...] >> If we’d go with an initial value of 1 would it be a performance problem for >> you if it grows automatically? > > that means the map will have to grow for hundreds of classes at s

Re: RFC: JDK-8031043: ClassValue's backing map should have a smaller initial size

2014-01-09 Thread Charles Oliver Nutter
It depends how JRuby is deployed. If the same code runs in every JRuby runtime, then there would be one value attached to a given class per runtime. Generally, this does not exceed a few dozen JRuby instances for an individual app, and most folks don't deploy more than a few apps in a given JVM. -

Re: RFC: JDK-8031043: ClassValue's backing map should have a smaller initial size

2014-01-09 Thread Christian Thalinger
On Jan 9, 2014, at 5:25 PM, Charles Oliver Nutter wrote: > It depends how JRuby is deployed. If the same code runs in every JRuby > runtime, then there would be one value attached to a given class per > runtime. Generally, this does not exceed a few dozen JRuby instances > for an individual app,