[classlib] rename "jcl" to "harmony"?

2007-01-22 Thread LvJimmy,Jing
Hi all, Looking into luni native code, I find its reflection caching is disabled, I'd like to enable it to improve Harmony performance. Native reflection caching is to cache reflection method/field id of some classes which is used frequently in native, this mechanism avoid reflect some id

Re: [classlib][portlib] Native tests

2007-01-22 Thread Spark Shen
Hi Mark: I have long before thought about this. This is really a good idea. I'd like to write more native tests, And plans to start from file related functions (In case you have not write them). Best regards 2007/1/18, Mark Hindess <[EMAIL PROTECTED]>: I've checked in an initial attempt at cr

Re: [classlib][nio]Volunteer to add support for direct byte buffer in nio channels read/write operation.

2007-01-22 Thread LvJimmy,Jing
Sounds interesting, I'd like to take a look. I believe most of work can be done after some refactor on native code :) 2007/1/23, Leo Li <[EMAIL PROTECTED]>: Hi, all: According to spec, "the Java virtual machine will make a best effort to perform native I/O operations directly upon it. That

[classlib][nio]Volunteer to add support for direct byte buffer in nio channels read/write operation.

2007-01-22 Thread Leo Li
Hi, all: According to spec, "the Java virtual machine will make a best effort to perform native I/O operations directly upon it. That is, it will attempt to avoid copying the buffer's content to (or from) an intermediate buffer before (or after) each invocation of one of the underlying operati

Re: [drlvm][magic] New Magic features proposal.

2007-01-22 Thread Robin Garner
> On 1/22/07, Robin Garner <[EMAIL PROTECTED]> wrote: >> >> Couldn't you achieve exactly the same effect by using an annotation to >> mark the called native method ? >> >> Such as >> >> @FastNative >> public native fastNativeMethod(args...); >> > > Robin, > I think such an annotation is a good

Re: [classlib][util] 2 test failed on overload em64t box

2007-01-22 Thread Leo Li
Hi, Vladimir: It is good that junit will kill the hanging testcase. I have reported it as HARMONY-3036 and have given a patch. Hope it will work. :) Good luck! Leo. On 1/22/07, Vladimir Ivanov <[EMAIL PROTECTED]> wrote: On 1/22/07, Leo Li <[EMAIL PROTECTED]> wrote: > > Hi, Vladimir: >You

Re: [classlib] VM interface docs ?

2007-01-22 Thread Geir Magnusson Jr.
On Jan 22, 2007, at 6:33 AM, Tim Ellison wrote: Yang Paulex wrote: For windows, you can download or browse it on my personal site[1]. Or you can create it by "ant doxygen-natives" and "ant doxygen-kernel" at working copy>/enhanced/doc directory, supposing you have doxygen installed. [1]

Re: [OT] HUG (Harmony User Group) in China?

2007-01-22 Thread Geir Magnusson Jr.
On Jan 22, 2007, at 1:36 AM, Xiao-Feng Li wrote: On 1/22/07, Geir Magnusson Jr. <[EMAIL PROTECTED]> wrote: On Jan 19, 2007, at 1:17 AM, Xiao-Feng Li wrote: > Hi, I saw many people here are from China. It's close to Chinese > Spring Festival, do we want to have some China HUG event? We can

Re: [drlvm][magic] New Magic features proposal.

2007-01-22 Thread Mikhail Fursov
On 1/22/07, Robin Garner <[EMAIL PROTECTED]> wrote: Couldn't you achieve exactly the same effect by using an annotation to mark the called native method ? Such as @FastNative public native fastNativeMethod(args...); Robin, I think such an annotation is a good idea for native methods wit

Re: [drlvm][magic] New Magic features proposal.

2007-01-22 Thread Mikhail Fursov
On 1/22/07, Pavel Afremov <[EMAIL PROTECTED]> wrote: See my comments inline please. On 1/22/07, Mikhail Fursov <[EMAIL PROTECTED]> wrote: > > Pavel, > I see the direction of your improvement - optimization of JNI calls. > The scenario you proposed is (correct me if I'm wrong) It's more clos

Re: [build][doc] building on Debian

2007-01-22 Thread Salikh Zakirov
Alexei Zakharov wrote: > 2. However, DRLVM completely rejected to run after step 1. Even > HelloWorld crashed. The problem was that the kernel I was using wasn't > fresh enough - big thanks to Alexei Fedotov for pointing this out. So > I've switched from version 2.4.27 to 2.6.8 and this brings DRLV

Re: Please close the following AWT issues

2007-01-22 Thread Alexei Zakharov
I'll take a look. Thanks, 2007/1/22, Pavlenko, Andrey A <[EMAIL PROTECTED]>: Dear committers, Below is a list of the AWT issues which, as I think, should be closed. Could somebody close the following issues, please? http://issues.apache.org/jira/browse/HARMONY-2066 - non-bug diff. I thin

Fwd: [jira] Commented: (HARMONY-2804) [drlvm][jit] StackTest and gc.Mark fail if Jitrino built in debug mode

2007-01-22 Thread Naveen Neelakantam
HARMONY-2804 should be applied. It removes an assert from jitrino debug. Thanks, Naveen Begin forwarded message: From: "Naveen Neelakantam (JIRA)" <[EMAIL PROTECTED]> Date: January 19, 2007 11:04:30 AM CST To: [EMAIL PROTECTED] Subject: [jira] Commented: (HARMONY-2804) [drlvm][jit] StackTes

[jira][sql] Would any committer please help apply Harmony-3017 patch?

2007-01-22 Thread Andrew Zhang
ATT. Thanks a lot! On 1/18/07, Andrew Zhang (JIRA) <[EMAIL PROTECTED]> wrote: [ https://issues.apache.org/jira/browse/HARMONY-3017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465648] Andrew Zhang commented on HARMONY-3017:

Re: [drlvm][magic] New Magic features proposal.

2007-01-22 Thread Robin Garner
Couldn't you achieve exactly the same effect by using an annotation to mark the called native method ? Such as @FastNative public native fastNativeMethod(args...); then the JIT compiler emits the correct code without burdening the Java code with details about how the fast native call linkage

Re: [portlib][testing][em64t] the native tests of portlib module are hangs up on the em64t linux

2007-01-22 Thread Alexey Varlamov
Grr. It appears the code in working_classlib\modules\portlib\src\main\native\thread\unix\x86_64\thrspinlock.s is a complete bogus, it is copy-pasted from x86 almost verbatim and never worked. The tests PASS with drlvm's libhythr.so. So we face again glorified hythr dilemma ;). -- Alexey 2007/1/

Re: [portlib][testing][em64t] the native tests of portlib module are hangs up on the em64t linux

2007-01-22 Thread Alexey Varlamov
Reproduced 100%. The problem is inside hythread_spinlock_acquire() impl, it spins forever on free "Thread global" monitor; I'm trying to grok asm impl for x64 now... 0 0x002a957a5cf8 in hythread_spinlock_acquire () from ./deploy/jdk/jre/bin/libhythr.so #1 0x002a957a7cef in monitor_enter

Re: [drlvm][verifier] verifier behavior is not compatible with RI

2007-01-22 Thread Ivan Popov
[1] http://java.sun.com/javase/6/docs/technotes/tools/windows/java.html On 1/22/07, Ivan Popov <[EMAIL PROTECTED]> wrote: I've tested instrumented class against Sun JDK 1.5 and 1.6 with -Xfuture option, which "turns on stricter class-file format checks that enforce closer conformance to the clas

Re: [drlvm][verifier] verifier behavior is not compatible with RI

2007-01-22 Thread Ivan Popov
I've tested instrumented class against Sun JDK 1.5 and 1.6 with -Xfuture option, which "turns on stricter class-file format checks that enforce closer conformance to the class-file format specification" [1]. The instrumented class rejected by DRLVM is still accepted by Sun JVM launched with -Xfut

RE: [doc][website] finalizing changes to nav pane

2007-01-22 Thread Morozova, Nadezhda
Hi, about >Just wondering. I thought we were having a discussion about that >stuff... I double-checked the thread, seems like no more open navbar related issues remain. The recent emails mostly concern restructuring of project guidelines page. For example, the question where to place description

[portlib][testing][em64t] the native tests of portlib module are hangs up on the em64t linux

2007-01-22 Thread Vladimir Ivanov
The native tests of portlib module are hangs up on the em64t Linux and test run killed by timeout. Could somebody reproduce/ fix it? thanks, Vladimir Execution log: [exec] -o ../init -lc -lm -ldl \ [exec] -Xlinker -z -Xlinker origin \ [exec] -Xlinker -rpath -Xlinker \$ORIGIN/ \

Re: [classlib][util] 2 test failed on overload em64t box

2007-01-22 Thread Vladimir Ivanov
On 1/22/07, Leo Li <[EMAIL PROTECTED]> wrote: Hi, Vladimir: You are right. The testcase seems to be unstable. The most reliable solution, I think, is to wait in a loop till the sheduled task does run. However, if there exists a bug in the tested class, the testcase might trap in an endless lo

Re: [drlvm][magic] New Magic features proposal.

2007-01-22 Thread Pavel Afremov
See my comments inline please. On 1/22/07, Mikhail Fursov <[EMAIL PROTECTED]> wrote: Pavel, I see the direction of your improvement - optimization of JNI calls. The scenario you proposed is (correct me if I'm wrong) It's more close to "Replace LiL code by Magic". Problems: P1) GC in nat

Re: Can Intel compiler be used to build Harmony in windows?

2007-01-22 Thread Salikh Zakirov
The two attached patches provide workaround for the hanging Intel compiler builds with cpptasks-1.0b4. I wasn't able to find exact root cause of hangs, and I suspect that commands 'icl -help', 'xilib -qv' and 'xilink -qv' try to paginate its output, and thus wait indefinitely for user input. Unfor

Re: [classlib] VM interface docs ?

2007-01-22 Thread Tim Ellison
Yang Paulex wrote: > For windows, you can download or browse it on my personal site[1]. Or you > can create it by "ant doxygen-natives" and "ant doxygen-kernel" at > working copy>/enhanced/doc directory, supposing you have doxygen installed. > > [1] http://people.apache.org/~pyang/harmonydoc/wind

Re: [drlvm][magic] New Magic features proposal.

2007-01-22 Thread Mikhail Fursov
Pavel, I see the direction of your improvement - optimization of JNI calls. The scenario you proposed is (correct me if I'm wrong) 1) We have a native JNI call from JAVA 2) JIT replaces the call with another call -> call to stub written in Java with a help of VMMagic package and passes original

Re: [classlib][security]Harmony cannot parse some pathname symbols in policy file

2007-01-22 Thread Ruth Cao
2007/1/22, Stepan Mishura <[EMAIL PROTECTED]>: On 1/19/07, Ruth Cao wrote: > > 2007/1/19, Stepan Mishura: > > > > On 1/19/07, Stepan Mishura wrote: > > > > > > On 1/19/07, Ruth Cao wrote: > > > > > > > > Hi all, > > > > > > > > When working on HARMONY-2910, we've found that current Harmony code

[drlvm][magic] New Magic features proposal.

2007-01-22 Thread Pavel Afremov
Hello. I have a proposal to improve performance of JITed code <-> VM communication and fix some potential bugs. To reach it the Magic opportunity should be extended. One of the new features is creating M2nFrame on the stack. To support it, the following methods may be added to the Magic:

Please close the following AWT issues

2007-01-22 Thread Pavlenko, Andrey A
Dear committers, Below is a list of the AWT issues which, as I think, should be closed. Could somebody close the following issues, please? http://issues.apache.org/jira/browse/HARMONY-2066 - non-bug diff. I think it's RI bug. http://issues.apache.org/jira/browse/HARMONY-2445 - non-bug

Re: [drlvm][opt] How to get object access sequence during runtime.

2007-01-22 Thread Mikhail Fursov
Hi! Your task is very close to write barriers implementation in OPT. I think that the best place today is IRBuilder.cpp that is called from JavaByteCodeTranslator during HIR creation from Java bytecode. See WB implementation as an example and add tracing code to object access ops like genLdField..