Re: [classlib]strings externalization

2006-07-31 Thread Alexei Zakharov
Hi Ilya, I was trying to implement generation with using ant tasks(it seemed to me more elegant solution, than to work with file streams in Java code) and found that ant can't work with cycles. I can run replace task for certain file name and can't do this with parametrized file names for a set

Add me in

2006-07-31 Thread Robert Hu
Please

Re: Add me in

2006-07-31 Thread Alexey Petrenko
Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] :) 2006/7/31, Robert Hu [EMAIL PROTECTED]: Please -- Alexey A. Petrenko Intel Middleware Products Division

[classlib] Intention to work on java.lang.instrument

2006-07-31 Thread Jimmy, Jing Lv
Hi everyone, Though Harmony VM 5 hasn't appeared yet(I hope it ready in the near further), I'd like to start work on an implementation of the java.lang.instrument[1]. After some study on this, I find Java interface classes/interfaces are quite easy, but there should be real implement,

Re: [classlib]strings externalization

2006-07-31 Thread Ilya Okomin
On 7/31/06, Alexei Zakharov [EMAIL PROTECTED] wrote: Hi Ilya, I was trying to implement generation with using ant tasks(it seemed to me more elegant solution, than to work with file streams in Java code) and found that ant can't work with cycles. I can run replace task for certain file

Re: [classlib] Intention to work on java.lang.instrument

2006-07-31 Thread Leo Li
On 7/31/06, Jimmy, Jing Lv [EMAIL PROTECTED] wrote: Hi everyone, Though Harmony VM 5 hasn't appeared yet(I hope it ready in the near further), I'd like to start work on an implementation of the java.lang.instrument[1]. Hi, I am also interested in working on java.lang.instrument.

Re: [classlib] Intention to work on java.lang.instrument

2006-07-31 Thread Jimmy, Jing Lv
Leo Li wrote: On 7/31/06, Jimmy, Jing Lv [EMAIL PROTECTED] wrote: Hi everyone, Though Harmony VM 5 hasn't appeared yet(I hope it ready in the near further), I'd like to start work on an implementation of the java.lang.instrument[1]. Hi, I am also interested in working on

[classlib][nio-charset] RI is inconsistent with spec when loading charset provider

2006-07-31 Thread Andrew Zhang
Hi folks, I noticed that RI behaves differently from spec when loading charset provider. As spec says: Charset providers are looked up via the current thread's context class loader. However, RI seems not using thread's context class loader. Following test shows the case: public class

Re: [classlib][nio-charset] RI is inconsistent with spec when loading charset provider

2006-07-31 Thread Mikhail Fursov
On 7/31/06, Andrew Zhang [EMAIL PROTECTED] wrote: Shall we follow RI or spec? I'd like to suggest follow RI for this specific case, because: 1. If we follow spec, it may cause legacy applications fail. I do not think that fixing this bug will affect legacy applications badly, because we

Re: [optimization] Algorithmic tricks

2006-07-31 Thread Chris Gray
On Wednesday 26 July 2006 13:03, Anton Luht wrote: Hello, One of possible candidates for such optimization may be for example String.hashCode() . Current implementation is rather common. Wikipedia points to hash functions that look more advanced ( http://en.wikipedia.org/wiki/Hash_function

[snaphots] Regular snaphots?

2006-07-31 Thread Alexey Petrenko
Guys, do we have any plans to produce regular (daily) snaphots? The last snapshot in the well-known-place [1] is 10 days old... Snapshots is very useful thing! SY, Alexey [1]well-known-place: http://people.apache.org/dist/incubator/harmony/snapshots/ -- Alexey A. Petrenko Intel Middleware

Re: [optimization] Algorithmic tricks

2006-07-31 Thread Anton Luht
Hello, Seems to me that String.hashCode() has to use the algorithm described in the spec if it's to be compliant. Sorry, I didn't notice that the algorithm for hashCode() for String is explicitly written in the spec. Thank you for pointing this. Yes, we must follow spec in this case. --

Re: [snaphots] Regular snaphots?

2006-07-31 Thread Igor Stolyarov
Who will responsable for this task? May be author? :) On 7/31/06, Alexey Petrenko [EMAIL PROTECTED] wrote: Guys, do we have any plans to produce regular (daily) snaphots? The last snapshot in the well-known-place [1] is 10 days old... Snapshots is very useful thing! SY, Alexey

Re: [snaphots] Regular snaphots?

2006-07-31 Thread Geir Magnusson Jr
Alexey Petrenko wrote: Guys, do we have any plans to produce regular (daily) snaphots? Yep. The last snapshot in the well-known-place [1] is 10 days old... Yep. Snapshots is very useful thing! Yep. I'm going to see if I can do them weekly now, if not daily. geir

Re: [snaphots] Regular snaphots?

2006-07-31 Thread Geir Magnusson Jr
Igor Stolyarov wrote: Who will responsable for this task? May be author? :) I want to make it automated. gier On 7/31/06, Alexey Petrenko [EMAIL PROTECTED] wrote: Guys, do we have any plans to produce regular (daily) snaphots? The last snapshot in the well-known-place [1] is 10 days

[general]Snapshot cannot work on Win2K

2006-07-31 Thread Paulex Yang
Hi, all I tried the latest snapshot[1] today on Win2K server with SP4 and hotfix until 2005-08-23, (actually one friend wanted to use Harmony on his old machines, he also had some experience about Eclipse on Harmony month ago here[2]), but it failed even for java -version, some error thrown

Re: [snaphots] Regular snaphots?

2006-07-31 Thread Jin Mj
Agree! rhythm is important for open source community. - Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [classlib] Intention to work on java.lang.instrument

2006-07-31 Thread Gregory Shimansky
2006/7/31, Jimmy, Jing Lv [EMAIL PROTECTED]: Besides, Harmony VM now has actually support the feature of JVMTI on which we can implement instrument. Ah, can it work now? It'll be great convenient if so. Hello. The drlvm does support a subset of JVMTI. Class loading events are

Re: [drlvm] crash handling

2006-07-31 Thread Gregory Shimansky
2006/7/28, Anton Luht [EMAIL PROTECTED]: Gregory, Thanks for the pointing at this option - maybe it's worth to publish undocumented properties and other switches, for example, in Wiki? With this option VM printed before death: Windows reported exception: ACCESS_VIOLATION Registers: EAX:

Re: [drlvm] string interning in java

2006-07-31 Thread Salikh Zakirov
Salikh Zakirov wrote: I have been looking to the string interning code in DRLVM recently. ... Now I am going to attempt optimization of java code by using a customized weak hashmap implementation. By using it, I will be able to create just one weak reference to the interned string instead

Re: [drlvm] string interning in java

2006-07-31 Thread Salikh Zakirov
Salikh Zakirov wrote: The attached patches implement different approach to the interning strings. To make interned string pool garbage collectable, I used WeakHashMap. Additional information that I think might be of interest. The java implementation of interning changed the order of static

Re: [rant] Memory options in VM -- why is the default not 'unlimited'

2006-07-31 Thread will pugh
What does matter is whether you are using more virtual memory than you have physical memory. The second you get in a spot where you have to GC and go through the entire object tree, you need to load in every page. If you have space for N pages in memory, and have objects allocated on N+1

Re: Re: [rant] Memory options in VM -- why is the default not 'unlimited'

2006-07-31 Thread Alex Blewitt
On 31/07/06, will pugh [EMAIL PROTECTED] wrote: What does matter is whether you are using more virtual memory than you have physical memory. I agree completely. But the VM developer (in C) does not know how much memory I have present. Why should it assume 256m? I have more memory than that on

Re: [rant] Memory options in VM -- why is the default not 'unlimited'

2006-07-31 Thread Salikh Zakirov
Alex Blewitt wrote: Don't get me wrong; being able to specify minimum/maximum is a reasonable idea for optimising a VM if you know what to put; but by default, there shouldn't be any arbitrary limitations based on the value of a #define constant ... So, would you be satisfied if the VM

Re: Re: [rant] Memory options in VM -- why is the default not 'unlimited'

2006-07-31 Thread Alex Blewitt
On 31/07/06, Salikh Zakirov [EMAIL PROTECTED] wrote: Alex Blewitt wrote: Don't get me wrong; being able to specify minimum/maximum is a reasonable idea for optimising a VM if you know what to put; but by default, there shouldn't be any arbitrary limitations based on the value of a #define

Re: [VM] Bytecode Subroutine Verification

2006-07-31 Thread Tom Tromey
Pavel == Pavel Rebriy [EMAIL PROTECTED] writes: Pavel There are several virtual machines in Harmony project and none Pavel of them provides subroutine verification for Java bytecode. I Pavel would like to discuss appropriate methodology of subroutine Pavel verification. Pavel The question is

Re: [classlib][nio-charset] RI is inconsistent with spec when loading charset provider

2006-07-31 Thread Andrew Zhang
On 7/31/06, Mikhail Fursov [EMAIL PROTECTED] wrote: On 7/31/06, Andrew Zhang [EMAIL PROTECTED] wrote: Shall we follow RI or spec? I'd like to suggest follow RI for this specific case, because: 1. If we follow spec, it may cause legacy applications fail. I do not think that fixing this

Re: Re: [rant] Memory options in VM -- why is the default not 'unlimited'

2006-07-31 Thread Xiao-Feng Li
On 8/1/06, Alex Blewitt [EMAIL PROTECTED] wrote: The zones strategy you suggest may work well with apps that have a lot of class loaders and allocate somewhat evenly across them, but I think it may cause a lot of overhead. Would your approach be generational? Would you need Write Barriers

Re: [build-test-infra] Build Test Infrastructure

2006-07-31 Thread Vladimir Ivanov
On 7/29/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: That's not what the HDK is intended for. (I was afraid of this when it was named... I also ran into the same thing explaining it to people this week... The HDK is not analogous to the JDK - it's really an SDK to assist in the

[test] Jetty integration progress ? (was Re: [classlib] jetty based tests)

2006-07-31 Thread Andrew Zhang
Hi folks, I volunteer to work on excluded tests in luni module, most of which are dependent on external servers(http server, socks proxy and etc.). As we discussed some months earlier, we'd integrate Jetty to Harmony test framework for eliminating external http server, but seems no more

Re: [drlvm] crash handling

2006-07-31 Thread Alexey Varlamov
2006/7/28, Anton Luht [EMAIL PROTECTED]: Gregory, Thanks for the pointing at this option - maybe it's worth to publish undocumented properties and other switches, for example, in Wiki? Anton, java -X will print a(n almost) complete list of supported properties. A document placed elsewhere

Re: [classlib] Intention to work on java.lang.instrument

2006-07-31 Thread Leo Li
On 7/31/06, Gregory Shimansky [EMAIL PROTECTED] wrote: 2006/7/31, Jimmy, Jing Lv [EMAIL PROTECTED]: Besides, Harmony VM now has actually support the feature of JVMTI on which we can implement instrument. Ah, can it work now? It'll be great convenient if so. Hello. The drlvm