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

2006-08-17 Thread Mikhail Loenko
2006/8/17, Richard Liang [EMAIL PROTECTED]: Andrew Zhang wrote: Hi folks, I'd like to say something more about jetty integration. We should reach an agreement on how to integrate/use jetty in Harmony. There are some concerns I can image now: 1. Where to put jetty? support or luni

Re: performance of drlvm

2006-08-17 Thread zouqiong
Hi, Mikhail: These days i have read a lot of paper about dynamic optimization. I got the following ideas to profile the drlvm with PMU: 1. Prefetch Injection Based on Hardware Monitoring and Object Metadata: this paper is a good example about how to PMU to dynamic prefetch data with high cache

Re: [testing] trying to run freemind with harmony

2006-08-17 Thread Salikh Zakirov
Iñigo wrote: C:\Archivos de programa\FreeMind\libjava -Xmx1g -verbose:gc* -jar freemind.jar GC v4 M1-39 (2006-03-28) GC will incrementally slide compact at each GC, using algorithm = 2 Chunks will be swept on allocation WARNING: final heap size is too large, reduced to 900 Mb java heap

Re: [drlvm][vm, mmtk] adding thread-local storage functionality to vmmagic

2006-08-17 Thread Egor Pasko
On the 0x1C8 day of Apache Harmony Weldon Washburn wrote: Windows uses ia32 segment register fs:14 for fast thread-local storage access. I think Linux somehow uses the gs segment register. In general, it is implementation-specific (not older kernels). Here is a good link for that:

Re: [drlvm] Helper inlining in JIT

2006-08-17 Thread Xiao-Feng Li
On 8/17/06, Rana Dasgupta [EMAIL PROTECTED] wrote: - So we will write the inlinable fastpaths wherever possible in pure Java, using an annotated calling convention to call the slowpath ( to support developer freedom :-) ). - Where the fastpaths cannot be expressible in pure Java,

Re: [classlib][luni] Compatibility: Default buf size of BufferedOutputStream

2006-08-17 Thread Vijay Yellapragada
Hi, Buffer Size is definitely implementation dependent. The test should be re done so that it doesn't assume the size of the buffer. A simple way to structure the test would be :- - Create a Sub class of BufferedOutputStream. - Since count and buf have protected access in

Re: [classlib][testing] excluding the failed tests

2006-08-17 Thread Andrew Zhang
Hi folks, I'd like to investigate tests/api/java/net/DatagramSocketTest.java and tests/api/java/net/DatagramSocketTest.java in luni module. I have updated the wiki page(http://wiki.apache.org/harmony/Excluded_tests). I'll also plan to study other excluded tests in luni module when I finish these

Re: [classlib][luni] Compatibility: Default buf size of BufferedOutputStream

2006-08-17 Thread Stepan Mishura
On 8/17/06, Richard Liang wrote: Hello All, One test case tests.api.java.io.BufferedOutputStreamTest.test_write$BII fails on RI (passes on Harmony) because the default buf size between RI and Harmony are different. The default buf size is not specified in the Java Specification. If we can

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

2006-08-17 Thread Stepan Mishura
On 8/17/06, Andrew Zhang wrote: Hi folks, I'd like to say something more about jetty integration. We should reach an agreement on how to integrate/use jetty in Harmony. There are some concerns I can image now: 1. Where to put jetty? support or luni module or somewhere else? It depends on

Re: [jira] Assigned: (HARMONY-1208) Bug fixing and cosmetics for Harmony 935

2006-08-17 Thread Mikhail Loenko
Hi Daniel, Please resubmit the patch with license granted to ASF Seems like the patch was generated against original H-935 contribution and does not take into account later changes. Could you please regenerate the patch? Thanks, Mikhail 2006/8/17, Mikhail Loenko (JIRA) [EMAIL PROTECTED]:

Re: [classlib][luni] Compatibility: Default buf size of BufferedOutputStream

2006-08-17 Thread Richard Liang
Vijay Yellapragada wrote: Hi, Buffer Size is definitely implementation dependent. The test should be re done so that it doesn't assume the size of the buffer. Yes. Just thinking about if there are any user applications depending on this behavior :-) A simple way to structure the test

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

2006-08-17 Thread Andrew Zhang
On 8/17/06, Stepan Mishura [EMAIL PROTECTED] wrote: On 8/17/06, Andrew Zhang wrote: Hi folks, I'd like to say something more about jetty integration. We should reach an agreement on how to integrate/use jetty in Harmony. There are some concerns I can image now: 1. Where to put jetty?

[classlib][luni] Enable tests.api.java.net.DatagramSocketTest?

2006-08-17 Thread Andrew Zhang
Hi folks, After applying Harmony-1024, tests.api.java.net.DatagramSocketTest passes against Harmony on my machine. Before enabling it, I'd like to hear more feedbacks from community. Would you please provide your test result on running DatagramSocketTest against Harmony? Thank you very much in

Re: [testing] trying to run freemind with harmony

2006-08-17 Thread Alexey Petrenko
Salikh, as far as I understood he runs a snapshot... SY, Alexey 2006/8/17, Salikh Zakirov [EMAIL PROTECTED]: Iñigo wrote: C:\Archivos de programa\FreeMind\libjava -Xmx1g -verbose:gc* -jar freemind.jar GC v4 M1-39 (2006-03-28) GC will incrementally slide compact at each GC, using algorithm

Re: [classlib][luni] Compatibility: Default buf size of BufferedOutputStream

2006-08-17 Thread Richard Liang
Stepan Mishura wrote: On 8/17/06, Richard Liang wrote: Hello All, One test case tests.api.java.io.BufferedOutputStreamTest.test_write$BII fails on RI (passes on Harmony) because the default buf size between RI and Harmony are different. The default buf size is not specified in the Java

Re: [classlib][instrument]Using Support_Exec framework(was Re: [classlib][Instrument] Documents for non-unit-tests)

2006-08-17 Thread Anton Luht
Jimmy, Ah, we are trying to catch the exact exception name, not its message. I agree parsing the message is a bad idea, but find an exact exception name in the output is still stable, am I right? Yes, it's stable. In fact, I have no idea to catch an exception in exec, it surely contains no

Re: [drlvm] sanity check - can someone build from svn and test ActiveMQ?

2006-08-17 Thread Anton Luht
Hello, Please try to apply patch Index: vm/vmcore/src/verifier/ver_utils.cpp === --- vm/vmcore/src/verifier/ver_utils.cpp(revision 432184) +++ vm/vmcore/src/verifier/ver_utils.cpp(working copy) @@ -1391,6 +1391,9 @@

Re: [drlvm] sanity check - can someone build from svn and test ActiveMQ?

2006-08-17 Thread Pavel Rebriy
Anton, your patch is a dutty hacking. With and without the patch ActiveMQ crashes as Gregory described. On 17/08/06, Anton Luht [EMAIL PROTECTED] wrote: Hello, Please try to apply patch Index: vm/vmcore/src/verifier/ver_utils.cpp

Re: [drlvm][vm, mmtk] adding thread-local storage functionality to vmmagic

2006-08-17 Thread Weldon Washburn
On 17 Aug 2006 14:01:51 +0700, Egor Pasko [EMAIL PROTECTED] wrote: On the 0x1C8 day of Apache Harmony Weldon Washburn wrote: Windows uses ia32 segment register fs:14 for fast thread-local storage access. I think Linux somehow uses the gs segment register. In general, it is

RE: [DRLVM][GC] Goals for 2006/2007

2006-08-17 Thread Morozova, Nadezhda
All, I found some GC requirements description in the OPEN spec [1], section 5.3.5 and something inside 6.*. How does those suggestions relate to what is being discussed? Do you think we can use that doc as the basis and maybe track major decisions there? Mail threads tend to drop, and are not

Re: [drlvm][vm, mmtk] adding thread-local storage functionality to vmmagic

2006-08-17 Thread Mikhail Fursov
Weldon, I agree that we need TLS access in vmmagic, but I thought about slightly different and more primitive implementation. Writing something like this: SegmentRegisterFS segFs = new SegmentRegisterFS(); or this: SegmentRegisterGS segGs = new SegmentRegisterGS(); we add the knowledge of the

[classlib][tools] Announcement: JNI-style C Header File Generator contribution

2006-08-17 Thread Dmitry M. Kononov
Hi all, I have developed a tool to generate JNI-style headers. This tool is a replacement for javah tool from the JavaSE 1.5.0. I would like it to be included in Harmony tools sections. The archive can be found there: http://issues.apache.org/jira/browse/HARMONY-1217 The archive contains the

Re: [classlib][luni] Enable tests.api.java.net.DatagramSocketTest?

2006-08-17 Thread Mark Hindess
On 17 August 2006 at 17:25, Andrew Zhang [EMAIL PROTECTED] wrote: Hi folks, After applying Harmony-1024, tests.api.java.net.DatagramSocketTest passes against Harmony on my machine. Before enabling it, I'd like to hear more feedbacks from community. Would you please provide your test

Re: [drlvm] sanity check - can someone build from svn and test ActiveMQ?

2006-08-17 Thread Geir Magnusson Jr.
Right - what I was worried about was that I *thought* that HARMONY-956 got me to where Gergory is describing, but he's applying HARMONY-1179. I'll just stop worrying about this for the snapshot, post it, and move on w/ 1179 and keep going. Thanks all for looking into this - I could

[app-bug] mx4j

2006-08-17 Thread Anton Luht
Hello, Now some people in this list are trying to make ActiveMQ run on Harmony. ActiveMQ is based on MX4J [1] . MX4J 3.0.1 has 812 unit tests. Results of those tests: BEA WebLogic JRockit(TM) 1.4.2_04 JVM : 810 tests, 1 failure, 1 error (99.75%) Harmony DRLVM version 11.2.0 766 tests, 2

Re: [app-bug] mx4j

2006-08-17 Thread Geir Magnusson Jr.
that's a great idea. Have you isolated any of the errors? geir On Aug 17, 2006, at 10:40 AM, Anton Luht wrote: Hello, Now some people in this list are trying to make ActiveMQ run on Harmony. ActiveMQ is based on MX4J [1] . MX4J 3.0.1 has 812 unit tests. Results of those tests: BEA WebLogic

Re: [testing] trying to run freemind with harmony

2006-08-17 Thread Tim Ellison
FYI : cannot reproduce on the classlib r432241 running on IBM VME Windows XP. Freemind seems to work fine there[1]. [1] http://people.apache.org/~tellison/Harmony-1209.jpg Regards, Tim Alexey Petrenko wrote: Salikh, as far as I understood he runs a snapshot... SY, Alexey 2006/8/17,

Re: [classlib][luni] Enable tests.api.java.net.DatagramSocketTest?

2006-08-17 Thread Tim Ellison
Andrew Zhang wrote: Hi folks, After applying Harmony-1024, tests.api.java.net.DatagramSocketTest passes against Harmony on my machine. Before enabling it, I'd like to hear more feedbacks from community. Would you please provide your test result on running DatagramSocketTest against

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

2006-08-17 Thread Fedotov, Alexei A
Vladimir, I was trying a buildtest module from svn repository. You wrote, When I tried to run it for the first time I saw problems with get and svn commands - they did not work in my environment due to: - no proxy settings for get and exec svn command. - some problems with my certificate for

Re: [testing] trying to run freemind with harmony

2006-08-17 Thread Geir Magnusson Jr.
well, yeah. clearly it's DRLVM geir On Aug 17, 2006, at 11:34 AM, Tim Ellison wrote: FYI : cannot reproduce on the classlib r432241 running on IBM VME Windows XP. Freemind seems to work fine there[1]. [1] http://people.apache.org/~tellison/Harmony-1209.jpg Regards, Tim Alexey Petrenko

Re: [classlib][tools] Announcement: JNI-style C Header File Generator contribution

2006-08-17 Thread Alexey Petrenko
Great! Thanks. This is very useful tool. SY, Alexey 2006/8/17, Dmitry M. Kononov [EMAIL PROTECTED]: Hi all, I have developed a tool to generate JNI-style headers. This tool is a replacement for javah tool from the JavaSE 1.5.0. I would like it to be included in Harmony tools sections. The

OT: JFontChooser

2006-08-17 Thread theUser BL
Hi! Have a look at http://common.l2fprod.com/ https://l2fprod.dev.java.net/ https://l2fprod-common.dev.java.net/ there existing a JFontChooser https://l2fprod-common.dev.java.net/images/FontChooser.jpg under the Apache License. :-) And at http://jfontchooser.sourceforge.net/ is one under the

Re: OT: JFontChooser

2006-08-17 Thread Geir Magnusson Jr.
I'm sure they'll make JDK7 open source... geir On Aug 17, 2006, at 2:35 PM, theUser BL wrote: Hi! Have a look at http://common.l2fprod.com/ https://l2fprod.dev.java.net/ https://l2fprod-common.dev.java.net/ there existing a JFontChooser

Re: [app-bug] mx4j

2006-08-17 Thread Anton Luht
Not yet. I think that making minimal test cases from JUnit tests is simpler than making ones from an application though. I'm going to get down to it soon - I just wanted to discuss it before acting to make sure that nobody objects such approach. On 8/17/06, Geir Magnusson Jr. [EMAIL PROTECTED]

Re: [app-bug] mx4j

2006-08-17 Thread Geir Magnusson Jr.
On Aug 17, 2006, at 3:28 PM, Anton Luht wrote: Not yet. I think that making minimal test cases from JUnit tests is simpler than making ones from an application though. I'm going to get down to it soon - I just wanted to discuss it before acting to make sure that nobody objects such approach.

[vote] HARMONY-1044 : Contribution of RMI Registry Service

2006-08-17 Thread Geir Magnusson Jr.
All is in order and in SVN for Harmony-1044 wrt BCC and ACQ. Please vote to accept or reject this codebase into the Apache Harmony class library : [ ] + 1 Accept [ ] -1 Reject (provide reason below) Lets let this run a minimum of 3 days unless a) someone states they need more time or b) we

[vote] HARMONY-1105 : Accept Java Management Console

2006-08-17 Thread Geir Magnusson Jr.
All is in order and in SVN for Harmony-1105 wrt BCC and ACQ. Please vote to accept or reject this codebase into the Apache Harmony class library : [ ] + 1 Accept [ ] -1 Reject (provide reason below) Lets let this run a minimum of 3 days unless a) someone states they need more time or b) we

[vote] HARMONY-1125 : thread manager patch for DRLVM

2006-08-17 Thread Geir Magnusson Jr.
All is in order and in SVN for Harmony-1125 wrt BCC and ACQ. Please vote to accept or reject this codebase into the Apache Harmony class library : [ ] + 1 Accept [ ] -1 Reject (provide reason below) Lets let this run a minimum of 3 days unless a) someone states they need more time or b) we

Re: [app-bug] mx4j

2006-08-17 Thread Alexey Petrenko
2006/8/17, Geir Magnusson Jr. [EMAIL PROTECTED]: On Aug 17, 2006, at 3:28 PM, Anton Luht wrote: Not yet. I think that making minimal test cases from JUnit tests is simpler than making ones from an application though. I'm going to get down to it soon - I just wanted to discuss it before

Re: [vote] HARMONY-1044 : Contribution of RMI Registry Service

2006-08-17 Thread Geir Magnusson Jr
+1 Geir Magnusson Jr. wrote: All is in order and in SVN for Harmony-1044 wrt BCC and ACQ. Please vote to accept or reject this codebase into the Apache Harmony class library : [ ] + 1 Accept [ ] -1 Reject (provide reason below) Lets let this run a minimum of 3 days unless a) someone

Re: [vote] HARMONY-1105 : Accept Java Management Console

2006-08-17 Thread Geir Magnusson Jr
+1 Geir Magnusson Jr. wrote: All is in order and in SVN for Harmony-1105 wrt BCC and ACQ. Please vote to accept or reject this codebase into the Apache Harmony class library : [ ] + 1 Accept [ ] -1 Reject (provide reason below) Lets let this run a minimum of 3 days unless a) someone

Re: [vote] HARMONY-1125 : thread manager patch for DRLVM

2006-08-17 Thread Geir Magnusson Jr
+1 Geir Magnusson Jr. wrote: All is in order and in SVN for Harmony-1125 wrt BCC and ACQ. Please vote to accept or reject this codebase into the Apache Harmony class library : [ ] + 1 Accept [ ] -1 Reject (provide reason below) Lets let this run a minimum of 3 days unless a) someone

Re: [app-bug] mx4j

2006-08-17 Thread Geir Magnusson Jr
Alexey Petrenko wrote: 2006/8/17, Geir Magnusson Jr. [EMAIL PROTECTED]: On Aug 17, 2006, at 3:28 PM, Anton Luht wrote: Not yet. I think that making minimal test cases from JUnit tests is simpler than making ones from an application though. I'm going to get down to it soon - I just

Re: [drlvm][vm, mmtk] adding thread-local storage functionality to vmmagic

2006-08-17 Thread Weldon Washburn
On 8/17/06, Mikhail Fursov [EMAIL PROTECTED] wrote: Weldon, I agree that we need TLS access in vmmagic, but I thought about slightly different and more primitive implementation. Writing something like this: SegmentRegisterFS segFs = new SegmentRegisterFS(); or this: SegmentRegisterGS segGs =

Re: [DRLVM][GC] Goals for 2006/2007

2006-08-17 Thread Weldon Washburn
On 8/17/06, Morozova, Nadezhda [EMAIL PROTECTED] wrote: All, I found some GC requirements description in the OPEN spec [1], section 5.3.5 and something inside 6.*. How does those suggestions relate to what is being discussed? Actually section 5.3.5 describes an interface between GC and JVM.

Re: [vote] HARMONY-1044 : Contribution of RMI Registry Service

2006-08-17 Thread Stefano Mazzocchi
Geir Magnusson Jr wrote: +1 +1 Geir Magnusson Jr. wrote: All is in order and in SVN for Harmony-1044 wrt BCC and ACQ. Please vote to accept or reject this codebase into the Apache Harmony class library : [ ] + 1 Accept [ ] -1 Reject (provide reason below) Lets let this run a

Re: [vote] HARMONY-1105 : Accept Java Management Console

2006-08-17 Thread Stefano Mazzocchi
Geir Magnusson Jr wrote: +1 +1 Geir Magnusson Jr. wrote: All is in order and in SVN for Harmony-1105 wrt BCC and ACQ. Please vote to accept or reject this codebase into the Apache Harmony class library : [ ] + 1 Accept [ ] -1 Reject (provide reason below) Lets let this run a minimum

Re: [vote] HARMONY-1125 : thread manager patch for DRLVM

2006-08-17 Thread Stefano Mazzocchi
Geir Magnusson Jr wrote: +1 +0, I don't know enough to understand if this is good or bad don't take this as diplomatic negative vote, I just don't like to vote on things I don't know enough about. Geir Magnusson Jr. wrote: All is in order and in SVN for Harmony-1125 wrt BCC and ACQ.

Re: [classlib][luni] Enable tests.api.java.net.DatagramSocketTest?

2006-08-17 Thread Richard Liang
Tim Ellison wrote: Andrew Zhang wrote: Hi folks, After applying Harmony-1024, tests.api.java.net.DatagramSocketTest passes against Harmony on my machine. Before enabling it, I'd like to hear more feedbacks from community. Would you please provide your test result on running

Re: [classlib][instrument]Using Support_Exec framework(was Re: [classlib][Instrument] Documents for non-unit-tests)

2006-08-17 Thread Leo Li
Hi, all: I wonder if we need to get the exception from the exec framework. As an exec result, we need only get whether it succeeds or not. Besides, I do not think it is so reliable to parse error message to get exception. We can design sophisticated testcase to deduce whether the expected

Re: [classlib][luni] Enable tests.api.java.net.DatagramSocketTest?

2006-08-17 Thread Paulex Yang
Tim Ellison wrote: Andrew Zhang wrote: Hi folks, After applying Harmony-1024, tests.api.java.net.DatagramSocketTest passes against Harmony on my machine. Before enabling it, I'd like to hear more feedbacks from community. Would you please provide your test result on running

Re: [continuum] BUILD FAILURE: Classlib/linux.ia32 Build/Test

2006-08-17 Thread Vladimir Ivanov
build of drlvm failed today on my pc with message: [cc] compile.cpp [cc] C:\harmony\drlvm1.5\vm\vmcore\src\jit\compile.cpp(750) : error C3861: 'get_default_stack_size': identifier not found, even with argument-dependent lookup Could anybody reproduce it or it is my local failure?

Re: [drlvm][vm, mmtk] adding thread-local storage functionality to vmmagic

2006-08-17 Thread Egor Pasko
On the 0x1C8 day of Apache Harmony Mikhail Fursov wrote: Egor, Why do you think we need to support platform specific issues in helpers? Is there any example that shows that we can't write a helper without reference platform details? It depends on how much of a helper code we want to write in