Re: [vote] acceptance of HARMONY-856 : assorted bug fixed for DRLVM

2006-07-24 Thread Pavel Rebriy
+1 And I wrote about restrictions to verifier patches. On 23/07/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: All is in order and in SVN for Harmony-856 wrt BCC and ACQ. Please vote to accept or reject this codebase into the Apache Harmony class library : [ ] + 1 Accept [ ] -1 Reject

Re: [classlib][nio][discussion] Implementation of java.nio.channels.spi.SelectorProvider.inheritedChannel()

2006-07-24 Thread Jimmy, Jing Lv
Leo Li wrote: 2006/7/24, Jimmy, Jing Lv [EMAIL PROTECTED]: Andrew Zhang wrote: Hello everybody, I plan to implement java.nio.channels.spi.SelectorProvider.inheritedChannel() method. Currently Harmony simply returns null. Spec doesn not specify how to detect inheritedChannel clearly,

RE: [classlib][html] HTML 3.2 or 4.01

2006-07-24 Thread Ivanov, Alexey A
I agree that we should implement both 3.2 and 4.01 DTDs. Moreover 3.2 is just a subset of 4.01 and, I believe, it doesn't require much work to support 3.2 too. -- Alexey A. Ivanov Intel Middleware Product Division -Original Message- From: Alexey Petrenko [mailto:[EMAIL PROTECTED] Sent:

Re: [classlib][nio][discussion] Implementation of java.nio.channels.spi.SelectorProvider.inheritedChannel()

2006-07-24 Thread Leo Li
2006/7/13, Andrew Zhang [EMAIL PROTECTED]: Hello everybody, I plan to implement java.nio.channels.spi.SelectorProvider.inheritedChannel() method. Currently Harmony simply returns null. Spec doesn not specify how to detect inheritedChannel clearly, Returns the channel inherited from the entity

Re: [general] App-driven Improvement

2006-07-24 Thread Alex Blewitt
On 24/07/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Now that we have a distribution of the VM + classlib in the JRE, we can start encouraging people to try real applications and tell us what's wrong. I'm guessing this will be an avalanche of useful information :) Good idea! Let's just

Re: [classlib] choose one [x-net] || [security] for HARMONY-536 (JSSE provider)

2006-07-24 Thread Stepan Mishura
On 7/19/06, Mikhail Loenko wrote: A long ago we agreed that providers go into a separate module. But now I think it's might be not very reasonable. Hi Mikhail, Why you think that is not reasonable? Here is the initial proposal:

Re: [classlib][luni]Http persistent connection(was Re: [jira] Commented: (HARMONY-499))

2006-07-24 Thread Paulex Yang
Seems no others interest in this;), so I'm going to assign harmony-617 to myself and implement a connection pool if no one objects. I may need a couple of days to implement and test it, so I plan to add the class skeleton to o.a.h.luni.net, and enrich them step by step, until at last I'll

Re: [classlib] Using Yoko as CORBA for Harmony

2006-07-24 Thread Alexey Petrenko
2006/7/22, Geir Magnusson Jr [EMAIL PROTECTED]: Alexey Petrenko wrote: There are not much news to share... First of all I realized that I did not completely build Yoko. My build was failed with the test failure. I thought that all the tests are at the end so all the sources are built. But

Re: [classlib] choose one [x-net] || [security] for HARMONY-536 (JSSE provider)

2006-07-24 Thread Mikhail Loenko
If we create separate module for each provider then number of modules is going to be too big... (e.g. RI has 6 or 7 providers) Thanks, Mikhail 2006/7/24, Stepan Mishura [EMAIL PROTECTED]: On 7/19/06, Mikhail Loenko wrote: A long ago we agreed that providers go into a separate module. But

Re: [classlib] Using Yoko as CORBA for Harmony

2006-07-24 Thread Geir Magnusson Jr
Alexey Petrenko wrote: 2006/7/22, Geir Magnusson Jr [EMAIL PROTECTED]: Alexey Petrenko wrote: There are not much news to share... First of all I realized that I did not completely build Yoko. My build was failed with the test failure. I thought that all the tests are at the end so

Re: Stack Overflow Error support issues

2006-07-24 Thread Pavel Afremov
Hello Sorry for late replay. It was very nice weekend for me :) On 7/21/06, Rana Dasgupta [EMAIL PROTECTED] wrote: - I could not get the unwind failure that you have mentioned (with the overflow happening in the first two lines) though I played around with the test, but that may depend

Re: [classlib] Using Yoko as CORBA for Harmony

2006-07-24 Thread Alexey Petrenko
2006/7/24, Geir Magnusson Jr [EMAIL PROTECTED]: Alexey Petrenko wrote: 2006/7/22, Geir Magnusson Jr [EMAIL PROTECTED]: Alexey Petrenko wrote: There are not much news to share... First of all I realized that I did not completely build Yoko. My build was failed with the test failure.

[VM] Bytecode Subroutine Verification

2006-07-24 Thread Pavel Rebriy
There are several virtual machines in Harmony project and none of them provides subroutine verification for Java bytecode. I would like to discuss appropriate methodology of subroutine verification. In Java bytecode, subroutines represent code in finally construction. The use of such subroutines

Re: Stack Overflow Error support issues

2006-07-24 Thread Pavel Afremov
Hi On 7/22/06, Mikhail Fursov [EMAIL PROTECTED] wrote: I think this must be a JIT heuristics because even a small method can lead to inlining of whole classlib API :) Are You think this check should be removed from VM and puted into JIT only? BR Pavel Afremov.

[drlvm] Cleaning insides of Class.h header

2006-07-24 Thread Pavel Pervov
Hello, all. I would like to work on cleaning the insides of Class.h header file. This header is related to internal representation of java class inside the VM. Currently it contains all entities for internal class representation: class itself, constant pool, members (field, method), exceptions

Re: [drlvm] Cleaning insides of Class.h header

2006-07-24 Thread Alexey Petrenko
2006/7/24, Pavel Pervov [EMAIL PROTECTED]: Hello, all. I would like to work on cleaning the insides of Class.h header file. This header is related to internal representation of java class inside the VM. Currently it contains all entities for internal class representation: class itself,

Re: [general] hdk and jre for review...

2006-07-24 Thread Alexey Varlamov
2006/7/21, Geir Magnusson Jr [EMAIL PROTECTED]: I've stared at the patch for a bit, and am comfortable enough now (I didn't doubt you, the patch was very simple, rather I didn't understand the issue.) I still am a little worried worried because we didn't care if they were proper substitutes

Re: [general] App-driven Improvement

2006-07-24 Thread Anton Luht
Good day, Are there any licensing limitations for those applications? Someone can find a bug in an application licensed under GPL, then minimize it to a test made of a couple of classes from that application and submit it to JIRA. It's likely that such test can sneak in the test suite. There's

Re: [drlvm] Cleaning insides of Class.h header

2006-07-24 Thread Pavel Pervov
On 7/24/06, Alexey Petrenko [EMAIL PROTECTED] wrote: 2006/7/24, Pavel Pervov [EMAIL PROTECTED]: Hello, all. I would like to work on cleaning the insides of Class.h header file. This header is related to internal representation of java class inside the VM. Currently it contains all

Re: [DRLVM/MMTk] v0.1 porting layer has been committed

2006-07-24 Thread Alex Astapchuk
Weldon, I also recently discovered what could be problem with jitrino.JET compiling OPCODE_LCMP. Jitrino.JET is core dumping. This problem I'm looking into the issue. Could you please share the class/method that causes assertion ? -- Thanks, Alex Weldon Washburn wrote: All,

Re: portlib functionality

2006-07-24 Thread Marina Goldburt
Hi, Paulex, On 7/7/06, Paulex Yang [EMAIL PROTECTED] wrote: Yes, I'm working on the FileChannel completion, and my thought is to write platform dependent codes for mmap at first(I thought it is easier to be accepted, so that things can be moved forward), then propose a mmap related extension

Re: [classlib] choose one [x-net] || [security] for HARMONY-536 (JSSE provider)

2006-07-24 Thread Stepan Mishura
IMO, it is not a big issue. We may create one module for all providers (like 'tools' module) and building 'providers' module will produce a set of required jars. Thanks, Stepan. On 7/24/06, Mikhail Loenko wrote: If we create separate module for each provider then number of modules is going

Re: [vote] acceptance of HARMONY-856 : assorted bug fixed for DRLVM

2006-07-24 Thread Mikhail Fursov
+1 I think this patches are well classified and very important. On 7/24/06, Pavel Rebriy [EMAIL PROTECTED] wrote: +1 And I wrote about restrictions to verifier patches. On 23/07/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: All is in order and in SVN for Harmony-856 wrt BCC and ACQ.

Re: Re: [classlib] TwoKeyHashMap

2006-07-24 Thread Boris Kuznetsov
In the JSSE provider TwoKeyHashMap is used to store objects in the session's application layer data (see javax.net.ssl.SSLSession spec). The name and access control context are used as keys in TwoKeyHashMap (according the spec. the same named values may not be visible across different access

Re: Stack Overflow Error support issues

2006-07-24 Thread Mikhail Fursov
No, I think that VM can do this check but use lower border: e.g. 1/100 of initial. JIT must do this check more accurate: use knowledge of algorithms it uses. The requirement to avoid SOE during a compilation can affect any algorithm in JIT that uses recursion. Jitrino.OPT has a lot of such

RE: [doc][drlvm] New document about GC posted on JIRA

2006-07-24 Thread Morozova, Nadezhda
Xiao-Feng Li wrote: Thanks. Those docs are helpful. Thank, xiaofeng That sounds encouraging, thanks :) On 7/21/06, Morozova, Nadezhda [EMAIL PROTECTED] wrote: Folks, I've posted another doc that might be of use to you [1] :-) this is about plugging in a custom GC implementation.

Re: Re: [classlib] TwoKeyHashMap

2006-07-24 Thread Mikhail Fursov
On 7/23/06, Alex Blewitt [EMAIL PROTECTED] wrote: This sounds like premature optimisation to me. After all, how many lookups are being performed in the crypto framework? If it's just a pairing of (say) provider/hash algorithm, how frequently is it being used? Do we have any stats that show the

Re: [classlib] Testing conventions - a proposal

2006-07-24 Thread Alexei Zakharov
Hi George, Sorry for the late reply. It looks like you are using an os.any group for those test methods (the majority) which may be run anywhere. That's a different approach to what I have been doing. I have been thinking more along the lines of avoiding the creation of groups that cover the

Re: [DRLVM/MMTk] v0.1 porting layer has been committed

2006-07-24 Thread Weldon Washburn
On 7/23/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Weldon Washburn wrote: All, Implementations of the abstract classes from: http://cs.anu.edu.au/~Steve.Blackburn/private/mmtk-20060714.jar ::: src/org/mmtk/vm/*.java have been created. This is under CPL, right? Exactly. MMTk is

Re: [drlvm] interface call devirtualization

2006-07-24 Thread Mikhail Fursov
On 24 Jul 2006 12:17:18 +0700, Egor Pasko [EMAIL PROTECTED] wrote: Interesting results! QuickQuestions: * did you include interface calls in your investigations. Or is it just invokevirtual that you tried? I have no idea what was the way of calling a method. The result shows only the

Re: [classlib] resolution of rmi/math/crypto duplication?

2006-07-24 Thread Daniel Gandara
On 7/21/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Daniel Fridlender wrote: On 7/21/06, Tim Ellison [EMAIL PROTECTED] wrote: Geir Magnusson Jr wrote: While it's not a critical thing, this seems like something we want to put to bed. Tim tried taking a run at this for one of these

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

2006-07-24 Thread Vladimir Ivanov
On 7/21/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Vladimir Ivanov wrote: I tried to use it. It is OK, but I have some comments on it. First of all, let me describe as I see the testing process: - for developers: Before the commit of new feature/ fix the developer should run some

Re: [vote] acceptance of HARMONY-856 : assorted bug fixed for DRLVM

2006-07-24 Thread Weldon Washburn
+1 I glanced at Harmony-856. It does indeed contain a bunch of small patches that seem OK to apply. On 7/23/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: All is in order and in SVN for Harmony-856 wrt BCC and ACQ. Please vote to accept or reject this codebase into the Apache Harmony class

Re: [drlvm] Cleaning insides of Class.h header

2006-07-24 Thread Mikhail Fursov
Pavel, Class.h is also used by other modules with by of vm.h public wrappers. Can you add more class hierarchy analysis (CHA) related methods to the public interface of Class.h during the refactoring. The methods I interested in 1) To iterate class hierarchy in two directions: from super to

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

2006-07-24 Thread Vladimir Ivanov
On 7/21/06, Mark Hindess [EMAIL PROTECTED] wrote: I was planning to jar up tests from modules just as I have with the test support classes (in build/test/support.jar) and I'd expect those to remain in the hdk. Seems, that it will enough to pack all modules\name\bin\test directories into

Re: [testing] Peace (was: Re: svn commit: r419522 - in /incubator/harmony/enhanced/classlib/trunk/modules/nio: .classpath build.xml make/hyproperties.xml src/test/java/common/ src/test/java/common/org

2006-07-24 Thread Vladimir Ivanov
Let me add a couple of words. The problem: in Harmony unit test suite we need to mark-up somehow and manage: - Platform-specific unit tests - Harmony implementation test vs. API tests - Broken buggy tests - Tests failing due to bug in implementation - [Potentially in future] type of test –

Re: Stack Overflow Error support issues

2006-07-24 Thread Weldon Washburn
On 7/24/06, Mikhail Fursov [EMAIL PROTECTED] wrote: No, I think that VM can do this check but use lower border: e.g. 1/100 of initial. JIT must do this check more accurate: use knowledge of algorithms it uses. The requirement to avoid SOE during a compilation can affect any algorithm in JIT

Re: [drlvm] Cleaning insides of Class.h header

2006-07-24 Thread Weldon Washburn
On 7/24/06, Pavel Pervov [EMAIL PROTECTED] wrote: Hello, all. I would like to work on cleaning the insides of Class.h header file. This header is related to internal representation of java class inside the VM. Currently it contains all entities for internal class representation: class itself,

RE: [continuum] BUILD FAILURE: Classlib/win.ia32 Build/Test

2006-07-24 Thread Ivanov, Alexey A
-Original Message- From: Paulex Yang [mailto:[EMAIL PROTECTED] Sent: Thursday, July 20, 2006 4:17 PM To: harmony-dev@incubator.apache.org Subject: Re: [continuum] BUILD FAILURE: Classlib/win.ia32 Build/Test Ivanov, Alexey A wrote: Hi all. BTW, my default locale is Russian That's

Re: [drlvm] Cleaning insides of Class.h header

2006-07-24 Thread Pavel Pervov
Michail, If some component external to VM core has direct access to class.h, this should be eliminated shortly. AFAIU, there are none such components. Answering your questions: 1) It is possible to traverse class hierarchy downward using available specialized interfaces. It is also possible to

RE: [testing] locale dependent tests

2006-07-24 Thread Ivanov, Alexey A
-Original Message- From: Paulex Yang [mailto:[EMAIL PROTECTED] Sent: Thursday, July 20, 2006 10:27 AM To: harmony-dev@incubator.apache.org Subject: Re: [testing] locale dependent tests Andrew Zhang wrote: On 7/19/06, Richard Liang [EMAIL PROTECTED] wrote: Tim Ellison wrote:

Re: [drlvm] Cleaning insides of Class.h header

2006-07-24 Thread Pavel Pervov
Weldon, thank you for catching this. 1) Entities I want to make C++ classes are struct Class and constant pool of a class. 2) Class members (fields and methods) are already C++ classes. 3) VTables are NOT going to become C++ classes. The motivation for moving to C++ is encapsulation of access

Re: [classlib] internationalization

2006-07-24 Thread Ilya Okomin
Hello to all! Sorry for such a delay in responce, was on vacation and had slow access to e-mail. I just would like to summarize our thoughts. I agree with Tim, that a tool to generate Msg and MsgUtil classes based on the teamplate may has sence. I had doubts that these classes are ot be changed

Re: Stack Overflow Error support issues

2006-07-24 Thread Pavel Afremov
Hi Weldon. There is a simple test in description of the *HARMONY-945*https://issues.apache.org/jira/browse/HARMONY-945 . I can add this test in the smoke tests of DRLVM. Is it OK? Pavel Afremov.

Re: Stack Overflow Error support issues

2006-07-24 Thread Pavel Afremov
On 7/24/06, Mikhail Fursov [EMAIL PROTECTED] wrote: No, I think that VM can do this check but use lower border: e.g. 1/100 of initial. JIT must do this check more accurate: use knowledge of algorithms it uses. ... I think we can review this issue when the check appears in the JIT. Pavel

Re: [drlvm] Cleaning insides of Class.h header

2006-07-24 Thread Mikhail Fursov
On 7/24/06, Pavel Pervov [EMAIL PROTECTED] wrote: Michail, If some component external to VM core has direct access to class.h, this should be eliminated shortly. AFAIU, there are none such components. Yes there are no such components, JIT uses 'vm.h' file to access class or methods

Re: [testing] Peace (was: Re: svn commit: r419522 - in /incubator/harmony/enhanced/classlib/trunk/modules/nio: .classpath build.xml make/hyproperties.xml src/test/java/common/ src/test/java/common/org

2006-07-24 Thread Alexei Zakharov
Hi Vladimir, Cons: 1. More complex algorithms of grouping / selecting tests for execution: harness (being it Junit, TestNG or my own script) must understand word mark-up instead of just simple walking directories. BTW, after brief browsing of the JUnit 4.0 documentation I didn't find any

Re: Re: [classlib] TwoKeyHashMap

2006-07-24 Thread Anton Luht
Hello, * As Alex and other have mentioned, just use a simple wrapper object with correct equals/hashCode. There can be a single instance of such object - not creation of a new key before lookup but assigning two keys' values :) -- Regards, Anton Luht, Intel Middleware Products Division

Re: [general] hdk and jre for review...

2006-07-24 Thread Alexey Petrenko
Guys, don't you think that it is better to add build date to the hdk/jre archive instead of svn revision? Or add date with svn revision... I think that how long time ago was this build produced? is a common question. 2006/7/24, Alexey Varlamov [EMAIL PROTECTED]: 2006/7/21, Geir Magnusson Jr

We would like all the development to happen right here

2006-07-24 Thread Leo Simons
Hey gang, I know I've talked about this with a bunch of people (specifically also at the last apachecon), but I couldn't find it stated anywhere in a public e-mail, so I figured I'd waste a bit of everyone's time and write an email. I hope its all obvious stuff anyway. Harmony has received and

Re: how to build Harmony on Windows (with minimum of commercial soft)

2006-07-24 Thread Thorbjørn Ravn Andersen
Gregory Shimansky skrev den 22-07-2006 23:57: classlib but I assure you that all I had installed was Visual Studio Express and Platform SDK, not even MASM because it was not available by that time. Ok, thank you for replying. I have now given up on this, so hopefully others will get it

Re: [general] App-driven Improvement

2006-07-24 Thread Zakharov, Vasily M
Great idea! I'm trying to run Apache Geronimo (it's a J2EE 1.4 certified application server, http://geronimo.apache.org) on Harmony VM/classlib. Geronimo starts (mostly) successfully, but a number of important issues does exist. It seems that those issues could be good candidates to App-Oriented

Re: Stack Overflow Error support issues

2006-07-24 Thread Rana Dasgupta
As I understand it, the value added by a broad check like this before the compile starts may not be very high. At best, it can try to avoid SOE in native code with a clean failure when it is certain that the stack state will not permit completion of the compile. So something like 1/100 of the

Re: [classlib] choose one [x-net] || [security] for HARMONY-536 (JSSE provider)

2006-07-24 Thread Geir Magnusson Jr
Tim Ellison wrote: Geir Magnusson Jr wrote: Tim Ellison wrote: Geir Magnusson Jr wrote: I've asked Sun about this. It would be nice if people could re-use their root cert store. What format does IBM and BEA use? FWIW the IBM Java SDK passes through the Sun format JKS. Does passes

Re: [drlvm] Cleaning insides of Class.h header

2006-07-24 Thread Geir Magnusson Jr
Pavel Pervov wrote: On 7/24/06, Alexey Petrenko [EMAIL PROTECTED] wrote: 2006/7/24, Pavel Pervov [EMAIL PROTECTED]: First thing I would like to do is to split the file into a group of files, each of which would contain only one entity (and some closely related entities, if any). This

Re: [DRLVM/MMTk] v0.1 porting layer has been committed

2006-07-24 Thread Geir Magnusson Jr
Weldon Washburn wrote: On 7/23/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote: Are you up-to-date? We don't have ij.exe anymore... Actually, I tried several times over the weekend to do a fresh, new svn checkout. I rolled back to a two week old revision. classlib and drlvm downloaded OK

Re: [general] hdk and jre for review...

2006-07-24 Thread Geir Magnusson Jr
Alexey Varlamov wrote: On windows, I was able to launch Eclipse 3.1.1 sucessfully, edit and run HWA. Did just one correction :) Index: harmony-hdk-r424020\jdk\jre\bin\eclipse.bat @@ -4,1 +4,1 - set

Re: We would like all the development to happen right here

2006-07-24 Thread Geir Magnusson Jr
Leo Simons wrote: Hey gang, I know I've talked about this with a bunch of people (specifically also at the last apachecon), but I couldn't find it stated anywhere in a public e-mail, so I figured I'd waste a bit of everyone's time and write an email. I hope its all obvious stuff anyway.

RE: [general] App-driven Improvement

2006-07-24 Thread Nathan Beyer
I think there's an underlying development assumption here. The JIRA issue would just be a notification of an issue. The investigation and eventual fix for the issue requires the creation of a regression test case to recreate the scenario. Then when a fix is applied, this regression test will

Re: Re: [classlib] TwoKeyHashMap

2006-07-24 Thread Mikhail Loenko
If I understood you idea correctly, that would be thread-unsafe In general before we get rid of that class or decide to keep it, I think we should work out an approach to performance optimizations. It's a rare case when perofmance might be significantly improved for free, a regular price is:

RE: [vote] acceptance of HARMONY-856 : assorted bug fixed for DRLVM

2006-07-24 Thread Nathan Beyer
+1 -Original Message- From: Geir Magnusson Jr [mailto:[EMAIL PROTECTED] Sent: Sunday, July 23, 2006 1:02 PM To: harmony-dev@incubator.apache.org Subject: [vote] acceptance of HARMONY-856 : assorted bug fixed for DRLVM All is in order and in SVN for Harmony-856 wrt BCC and ACQ.

Re: [testing] locale dependent tests

2006-07-24 Thread Richard Liang
Ivanov, Alexey A wrote: -Original Message- From: Paulex Yang [mailto:[EMAIL PROTECTED] Sent: Thursday, July 20, 2006 10:27 AM To: harmony-dev@incubator.apache.org Subject: Re: [testing] locale dependent tests Andrew Zhang wrote: On 7/19/06, Richard Liang [EMAIL PROTECTED]

Re: [classlib] choose one [x-net] || [security] for HARMONY-536 (JSSE provider)

2006-07-24 Thread Stepan Mishura
Hi Alexei, The overall idea is to isolate providers' code from 'regular code' and make it possible to build different 'harmony providers' distributions. On 7/24/06, Alexei Zakharov wrote: Hi Stepan, FYI there are other modules that contain providers, jndi for example. The JNDI DNS provider

Re: Re: Re: [classlib] TwoKeyHashMap

2006-07-24 Thread Alex Blewitt
On 25/07/06, Mikhail Loenko [EMAIL PROTECTED] wrote: In general before we get rid of that class or decide to keep it, I think we should work out an approach to performance optimizations. It's a rare case when perofmance might be significantly improved for free, a regular price is: additional