Re: [classlib][luni] signalis interruptus in hysock

2006-10-25 Thread Geir Magnusson Jr.
Ivan Volosyuk wrote: On 10/20/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: Ivan Volosyuk wrote: Well, I think that the solution is what Geir suggests. One think which bothers me is following. EINTR can happen in different places and the situations can be quite rare in some

Re: [classlib][luni] signalis interruptus in hysock

2006-10-25 Thread Geir Magnusson Jr.
Weldon Washburn wrote: It seems JIRA is down for maintenance. If HARMONY-1904 is still open perhaps it makes sense to put a counter in the while (...) { select...} loop. And after every N loops, print a warning/diagnostic message. For whom and to what end? Why not just return EINTR (in

Re: javac and hdk

2006-10-25 Thread Geir Magnusson Jr.
LOL. Soon. Maybe tomorrow :) Until then, use javac from Sun. Or IBM. Or BEA. :) geir Matthias Wessendorf wrote: ok, so when will there be an executable javac ? :) On 10/24/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: Matthias Wessendorf wrote: hey, I think I read somewhere

Re: [drlvm][gc] TLS access from GC: a proposal to refactor the code

2006-10-25 Thread Xiao-Feng Li
Mikhail, I guess there is miscommunication. I didn't suggest to put GC TLS data to VM_Thread, I think it should have its own TLS key. My suggestion is to use single key for GC TLS data block pointer, then use an additional dereference for a GC TLS data field. Thanks, xiaofeng On 10/25/06,

Re: [dlrvm] ClassCircularityError in recursive compilation (Was: Re: [drlvm] smoke test : gc PhantomReferenceQueueTest is really unstable)

2006-10-25 Thread Mikhail Fursov
On 10/24/06, Salikh Zakirov [EMAIL PROTECTED] wrote: Yes, the lock is global. I used try_enter() to prevent possible deadlock scenario, when the finalization happens at precisely the moment finalization thread is holding the finalization lock. If this happens, and vm_hint_finalize() cannot grab

Re: [dlrvm] ClassCircularityError in recursive compilation (Was: Re: [drlvm] smoke test : gc PhantomReferenceQueueTest is really unstable)

2006-10-25 Thread Mikhail Fursov
On 10/25/06, Pavel Afremov [EMAIL PROTECTED] wrote: Your fix just switch off Finalization Work Balance Subsystem Pavel, could Work Balance Subsystem be implemented in finilizers threads directly. That is we will not have Java code executed from helpers? -- Mikhail Fursov

Re: [dlrvm] ClassCircularityError in recursive compilation (Was: Re: [drlvm] smoke test : gc PhantomReferenceQueueTest is really unstable)

2006-10-25 Thread Pavel Afremov
No. It couldn't. I don't now any solution which can do it. Pavel Afremov. On 10/25/06, Mikhail Fursov [EMAIL PROTECTED] wrote: On 10/25/06, Pavel Afremov [EMAIL PROTECTED] wrote: Your fix just switch off Finalization Work Balance Subsystem Pavel, could Work Balance Subsystem be

Re: [dlrvm] ClassCircularityError in recursive compilation (Was: Re: [drlvm] smoke test : gc PhantomReferenceQueueTest is really unstable)

2006-10-25 Thread Mikhail Fursov
The Work Balance Subsystem task is to start new finalizing threads when all active threads are busy, isn't it? The solution could be: 1) Add +1 thread: finalizers manager 2) notify this thread (as Salikh proposed) to start finalization and do the Work Balance Subsystem job. Does it work or am I

Re: [drlvm][smoke_test] running kernel classes tests on DRLVM compiled with Intel Compiler (linux/ia32)

2006-10-25 Thread Nataly Naumova
On 10/24/06, Gregory Shimansky [EMAIL PROTECTED] wrote: BTW to test how things work with Intel compiler I've installed it on Gentoo (version 9.1.042, it is marked as unstable, but the most recent stable is very old - 7.1.006... which version do you use?) and failed to compile drlvm with it.

Re: [drlvm][eclipse compiler] the test compiled with ECJ fails on drlvm

2006-10-25 Thread Elena Semukhina
On 10/25/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: Is this a fix or a workaround? Is there a bug in ECJ? geir Me and Evgueni consider this a fix. We should adapt the algorithm of accessibility control to working with classes compiled with both compilers. The difference berween

Re: [dlrvm] ClassCircularityError in recursive compilation (Was: Re: [drlvm] smoke test : gc PhantomReferenceQueueTest is really unstable)

2006-10-25 Thread Pavel Afremov
Good idea Mikhail! I think I will base on it in my future solution. I see only one negative side for it. Quantity of the treads increased by one in normal situation. Any ideas? Thanks. Pavel Afremov. On 10/25/06, Mikhail Fursov [EMAIL PROTECTED] wrote: The Work Balance Subsystem task

Re: [general] POLL : supported platforms

2006-10-25 Thread Stepan Mishura
On 10/16/06, Geir Magnusson Jr. wrote: We're a volunteer project, so supported is based on interest in community. Lets be clear by writing down a set of platforms that we as a community commit to support. I think we can define support as - one or more people in the community tests on that

Re: RE: [classlib][test] Configuration dependent test of InetAddress.getHostName

2006-10-25 Thread Alex Blewitt
Not sure if this is covered in a test elsewhere, but we could check that the getLocalName() returns a non-null, non-empty string? After all, both localhost and 127.0.0.1 should return valid lookups. The other possibiltiy is to fork an 'nslookup' or 'host' command (depending on platform) to find

Re: [drlvm] Class unloading support

2006-10-25 Thread Mikhail Fursov
On 10/25/06, Aleksey Ignatenko [EMAIL PROTECTED] wrote: Egor, But it has 1 more cons -- JIT should change it's devirtualizer accordingly to the VTable change. Doable, of course. There is no need to change struct VTable structure - it could be simply inlined in pinned VTable object + 1

Re: [drlvm][gc] TLS access from GC: a proposal to refactor the code

2006-10-25 Thread Mikhail Fursov
On 10/25/06, Xiao-Feng Li [EMAIL PROTECTED] wrote: Hi, Mikhail, how about this: In GC thread init: gc_tls_data_ptr = malloc_gc_tls_data(sizeof(GC_Thread_Info) ); gc_tls_key = thread_create_tls_key(); thread_set_tls_data( gc_tls_key, gc_tls_data_ptr); To fast alloc: gc_tls_data_ptr =

RE: [general] POLL : supported platforms

2006-10-25 Thread Konovalova, Svetlana
Stepan, I support you idea, but IMHO the page you pointed out to is out-of-date. I suggest using http://wiki.apache.org/harmony/Platforms_to_Run_Harmony_Development_Kit_ on as it seems to be much more suitable. I tried to support it adding up-to-date info and posting the discussion issues. I'll

Re: [dlrvm] ClassCircularityError in recursive compilation (Was: Re: [drlvm] smoke test : gc PhantomReferenceQueueTest is really unstable)

2006-10-25 Thread Mikhail Fursov
On 10/25/06, Pavel Afremov [EMAIL PROTECTED] wrote: Good idea Mikhail! I think I will base on it in my future solution. I see only one negative side for it. Quantity of the treads increased by one in normal situation. Any ideas? the only idea I have is to spawn N threads at once if

Re: [drlvm][gc] TLS access from GC: a proposal to refactor the code

2006-10-25 Thread Xiao-Feng Li
On 10/25/06, Mikhail Fursov [EMAIL PROTECTED] wrote: On 10/25/06, Xiao-Feng Li [EMAIL PROTECTED] wrote: Hi, Mikhail, how about this: In GC thread init: gc_tls_data_ptr = malloc_gc_tls_data(sizeof(GC_Thread_Info) ); gc_tls_key = thread_create_tls_key(); thread_set_tls_data( gc_tls_key,

Re: [general] POLL : supported platforms

2006-10-25 Thread Mikhail Fursov
On 10/25/06, Konovalova, Svetlana [EMAIL PROTECTED] wrote: Comments? Objections? Wow! the only platform with bugs we have is Windows XP with VS.NET 2005 Community Edition ! :) I do not understand the lifecycle of this page. If I report today that my platform works OK, but the next commit

Re: RE: [classlib][test] Configuration dependent test of InetAddress.getHostName

2006-10-25 Thread Denis Kishenko
2006/10/25, Alex Blewitt [EMAIL PROTECTED]: The other possibiltiy is to fork an 'nslookup' or 'host' command (depending on platform) to find out what the platform thinks is the local host name, and then comparing it to Java's result. On this WinServer2003 nslookup localhost and nslookup

Re: [drlvm][gc] TLS access from GC: a proposal to refactor the code

2006-10-25 Thread Mikhail Fursov
Xiao-Feng, Even if you do not need to have constant offsets, it's better to use TM directly to allocate TLS slots. In this case we can remove extra code from VM: the computation of the third parameter in the next method: extern Managed_Object_Handle (*gc_alloc_fast)(unsigned size,

Re: [drlvm][gc] TLS access from GC: a proposal to refactor the code

2006-10-25 Thread Xiao-Feng Li
On 10/25/06, Mikhail Fursov [EMAIL PROTECTED] wrote: On 10/25/06, Xiao-Feng Li [EMAIL PROTECTED] wrote: Why do we need multiple slots? Can't we use just one slot, which stores a pointer to a user data structure (the GC_Thread_Info in this case)? Yes you can store a pointer. But in this

Re: [general] POLL : supported platforms

2006-10-25 Thread Mikhail Loenko
does it make sense to put it on the site? Thanks, Mikhail 2006/10/25, Stepan Mishura [EMAIL PROTECTED]: On 10/16/06, Geir Magnusson Jr. wrote: We're a volunteer project, so supported is based on interest in community. Lets be clear by writing down a set of platforms that we as a community

Re: [drlvm][gc] TLS access from GC: a proposal to refactor the code

2006-10-25 Thread Ivan Volosyuk
+1 -- Ivan Intel Enterprise Solutions Software Division On 10/25/06, Xiao-Feng Li [EMAIL PROTECTED] wrote: Mikhail, I guess there is miscommunication. I didn't suggest to put GC TLS data to VM_Thread, I think it should have its own TLS key. My suggestion is to use single key for GC TLS data

Re: [drlvm][smoke_test] running kernel classes tests on DRLVM compiled with Intel Compiler (linux/ia32)

2006-10-25 Thread Gregory Shimansky
Geir Magnusson Jr. wrote: Gregory Shimansky wrote: Hello Nataly It looks like a workaround to me to run the tests for VM. To run other user applications we need a general solution about what to do with non standard libraries which Intel compiler links with. On Gentoo if you install icc,

RE: [general] POLL : supported platforms

2006-10-25 Thread Konovalova, Svetlana
Wow! the only platform with bugs we have is Windows XP with VS.NET 2005 Community Edition ! :) Well... are you sure? Or do you make this supposition judging by the Platforms to Run Harmony Development Kit on page? The point is that I didn't have enough info to fill in the empty table cells. My

Re: [drlvm][smoke_test] running kernel classes tests on DRLVM compiled with Intel Compiler (linux/ia32)

2006-10-25 Thread Gregory Shimansky
Nataly Naumova wrote: On 10/24/06, Gregory Shimansky [EMAIL PROTECTED] wrote: BTW to test how things work with Intel compiler I've installed it on Gentoo (version 9.1.042, it is marked as unstable, but the most recent stable is very old - 7.1.006... which version do you use?) and failed to

RE: [general] POLL : supported platforms

2006-10-25 Thread Morozova, Nadezhda
My two cents... I do not understand the lifecycle of this page. If I report today that my platform works OK, but the next commit brokes it, who will update the page? IMHO if the next commit breakes the work-ok-platform and if you notice it, why not to update the wiki page? Or you can let

Re: [drlvm][gc] TLS access from GC: a proposal to refactor the code

2006-10-25 Thread Ivan Volosyuk
Xiao-Feng, I think there should be no problem to get this to work. But, I also agree with Mikhail that it could be benefitial to have data directly available in TLS without additional pointer dereference. If we will have corresponding interface function to allocate more then one void pointer at

RE: [general] POLL : supported platforms

2006-10-25 Thread Konovalova, Svetlana
Do you think we can add a note with the revision number? This way, you at least know that the code of revision worked ok/failed on this platform. Because such tests are done systematically, changing revisions would not take much time to update. +1 Good idea! :) Cheers, Sveta

Re: [drlvm][smoke_test] running kernel classes tests on DRLVM compiled with Intel Compiler (linux/ia32)

2006-10-25 Thread Nataly Naumova
Could you also tell me which version of icc you are using? Sorry - icc -V Intel(R) C Compiler for 32-bit applications, Version 9.0Build 20051020Z Package ID: l_cc_c_9.0.027 -- Nataly Naumova, Intel Middleware Products Division

Re: [general] POLL : supported platforms

2006-10-25 Thread Stepan Mishura
On 10/25/06, Mikhail Loenko wrote: does it make sense to put it on the site? To put what? The definition of supported platform or/and the list of supported platforms? I think it makes sense to put at least the definition. Thanks, Stepan. Thanks, Mikhail 2006/10/25, Stepan Mishura On

Re: [classlib][awt] Revision #465514 broke image decoders.

2006-10-25 Thread Oleg Khaschansky
Since the ImageConsumer accepts Hashtable?,? my thought is that the the GifDecoder should declare the field based on what it actually uses. If the other decoders only use String keys and String values, then I would suggest we change the field declaration to match. Yes, it sounds reasonable. On

Re: [drlvm][gc] TLS access from GC: a proposal to refactor the code

2006-10-25 Thread Xiao-Feng Li
Yes, this can be an optimization. I am not very sure if we can get obvious performance improvement with this. I am usually conservative with interface change. :-) Since neither Windows nor Linux provides this kind of native support, I am guessing they have their rationality. We probably want

[drlvm][crash] Cannot run anything on Linux

2006-10-25 Thread Fedotov, Alexei A
Guys, Last two days I cannot run the simplest things on DRLVM on Linux: drlvm/build/lnx_ia32_gcc_debug/deploy/jre/bin/java -cp . NoSuchClass free(): invalid pointer 0x808d800 [launcher crash dump follows] Is it my local problem? Or someone have faced this as well? With best

Re: [general] POLL : supported platforms

2006-10-25 Thread Mikhail Loenko
yes, I mean the current definitions Then we could discuss the lists Thanks, Mikhail 2006/10/25, Stepan Mishura [EMAIL PROTECTED]: On 10/25/06, Mikhail Loenko wrote: does it make sense to put it on the site? To put what? The definition of supported platform or/and the list of supported

Re: [general] POLL : supported platforms

2006-10-25 Thread Stepan Mishura
On 10/25/06, Mikhail Fursov wrote: On 10/25/06, Konovalova, Svetlana [EMAIL PROTECTED] wrote: Comments? Objections? Wow! the only platform with bugs we have is Windows XP with VS.NET 2005 Community Edition ! :) I do not understand the lifecycle of this page. If I report today that my

RE: [general] POLL : supported platforms

2006-10-25 Thread Konovalova, Svetlana
I suggest just to provide just the definition and to add a link from the site to the corresponding wiki page. Cheers, Sveta -Original Message- From: Mikhail Loenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 25, 2006 1:29 PM To: harmony-dev@incubator.apache.org Subject: Re:

Re: [drlvm][gc] TLS access from GC: a proposal to refactor the code

2006-10-25 Thread Mikhail Fursov
On 10/25/06, Xiao-Feng Li [EMAIL PROTECTED] wrote: We probably want to delay this optimization in TM until we have evidance for it, since what Mikhail wants is just to inline GC tls data access easily. Ok, I understand it and agree. Today I'm going do the measurements/changes only for gc_cc.

Re: [drlvm][gc] TLS access from GC: a proposal to refactor the code

2006-10-25 Thread Nikolay Kuznetsov
Hello All, in general we do not have any objections to implement such functionality, but as far as I understand this will be quite unique TM feature (no other threading library have this, or give me a link) which is intended to improve performance. And if we going to extend TM interface for

Re: [drlvm][gc] TLS access from GC: a proposal to refactor the code

2006-10-25 Thread Xiao-Feng Li
No problem, I can modify GCv5 for this. Thanks, -xiaofeng On 10/25/06, Mikhail Fursov [EMAIL PROTECTED] wrote: On 10/25/06, Xiao-Feng Li [EMAIL PROTECTED] wrote: We probably want to delay this optimization in TM until we have evidance for it, since what Mikhail wants is just to inline GC tls

Re: [general] Announcing newest members of the Harmony PPMC

2006-10-25 Thread Oliver Deakin
Congratulations! Geir Magnusson Jr. wrote: As progress towards our goal of having all committers on the PPMC, the Harmony PPMC is proud to announce it's newest members : Nathan Beyer Paulex Yang Weldon Washburn Please join us in congratulating them (and then tell them to get back to

Re: [general] Announcing newest members of the Harmony PPMC

2006-10-25 Thread Alexei Zakharov
My congratulations! 2006/10/25, Geir Magnusson Jr. [EMAIL PROTECTED]: As progress towards our goal of having all committers on the PPMC, the Harmony PPMC is proud to announce it's newest members : Nathan Beyer Paulex Yang Weldon Washburn Please join us in congratulating them (and then

Re: [classlib][test] Configuration dependent test of InetAddress.getHostName

2006-10-25 Thread Andrew Zhang
On 10/24/06, Fedotov, Alexei A [EMAIL PROTECTED] wrote: Andrew, I agree that test should be fixed. I suggested using one of the following checks to validate that the host is localhost. InetAddress.getByName(host).isLoopbackAddress() InetAddress.getByName(host).isSiteLocalAddress() I have

Re: [general] POLL : supported platforms

2006-10-25 Thread Mikhail Fursov
On 10/25/06, Stepan Mishura [EMAIL PROTECTED] wrote: I do not understand the lifecycle of this page. If I report today that my platform works OK, but the next commit brokes it, who will update the page? I guess - you'll update :-) This is optimistic behaviour:). Let's try and see if it

Re: [drlvm][gc] TLS access from GC: a proposal to refactor the code

2006-10-25 Thread Mikhail Fursov
Thank you. Just tell me when GCv5 is ready and I'll clean VM part. + This is not the first priority task today. On 10/25/06, Xiao-Feng Li [EMAIL PROTECTED] wrote: No problem, I can modify GCv5 for this. Thanks, -xiaofeng -- Mikhail Fursov

Re: [drlvm][gc] TLS access from GC: a proposal to refactor the code

2006-10-25 Thread Mikhail Fursov
On 10/25/06, Nikolay Kuznetsov [EMAIL PROTECTED] wrote: Hello All, in general we do not have any objections to implement such functionality, but as far as I understand this will be quite unique TM feature (no other threading library have this, or give me a link) which is intended to improve

Re: [general] POLL : supported platforms

2006-10-25 Thread Geir Magnusson Jr.
Stepan Mishura wrote: On 10/16/06, *Geir Magnusson Jr.* wrote: We're a volunteer project, so supported is based on interest in community. Lets be clear by writing down a set of platforms that we as a community commit to support. I think we can define support as - one or more

Re: [general] POLL : supported platforms

2006-10-25 Thread Geir Magnusson Jr.
Konovalova, Svetlana wrote: Stepan, I support you idea, but IMHO the page you pointed out to is out-of-date. I suggest using http://wiki.apache.org/harmony/Platforms_to_Run_Harmony_Development_Kit_ on as it seems to be much more suitable. I tried to support it adding up-to-date info and

Re: [general] POLL : supported platforms

2006-10-25 Thread Geir Magnusson Jr.
Yes - lets just get something up on the wiki, and we can discuss/tune from there. (and yes, we need a link to this from the site) geir Konovalova, Svetlana wrote: I suggest just to provide just the definition and to add a link from the site to the corresponding wiki page. Cheers, Sveta

Re: [general] Announcing newest members of the Harmony PPMC

2006-10-25 Thread Mark Hindess
Congrats! -Mark. On 24 October 2006 at 18:41, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: As progress towards our goal of having all committers on the PPMC, the Harmony PPMC is proud to announce it's newest members : Nathan Beyer Paulex Yang Weldon Washburn Please join us in

Re: [drlvm] Class unloading support

2006-10-25 Thread Geir Magnusson Jr.
Egor Pasko wrote: On the 0x20C day of Apache Harmony Aleksey Ignatenko wrote: Hello all! As you probably know current version of harmony DRLVM has no class unloading support. This leads to the fact that some Java applications accumulate memory leaks leading to memory overflow and crashes.

Re: [general] Announcing newest members of the Harmony PPMC

2006-10-25 Thread Tim Ellison
Well deserved congratulations. Tim On 24/10/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: As progress towards our goal of having all committers on the PPMC, the Harmony PPMC is proud to announce it's newest members : Nathan Beyer Paulex Yang Weldon Washburn Please join us in

Re: [snapshot] Questions about next snapshot...

2006-10-25 Thread Oleg Khaschansky
3.- Will be possible to create graphics in awt-headless mode? I would like to test servlets generating charts (using JFreeCharts) in a Linux box without a graphics environment. Definitely, headless support will be implemented in the future and there are no obstacles which prevent us from

Re: [snapshot] Questions about next snapshot...

2006-10-25 Thread Geir Magnusson Jr.
As Tim asked earlier in the thread... is there a clear definition of what this means? A spec maybe? Also.. Martin... want to help? :) geir Oleg Khaschansky wrote: 3.- Will be possible to create graphics in awt-headless mode? I would like to test servlets generating charts (using

Re: [snapshot] Questions about next snapshot...

2006-10-25 Thread Oleg Khaschansky
As Tim asked earlier in the thread... is there a clear definition of what this means? A spec maybe? http://java.sun.com/j2se/1.4.2/docs/guide/awt/AWTChanges.html#headless On 10/25/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: As Tim asked earlier in the thread... is there a clear

[classlib][tests] Junit best practice

2006-10-25 Thread Mark Hindess
Earlier in the year we discussed junit best practice. For example, making sure assertEquals calls have the expected and actual arguments in the correct order to avoid getting confusing failure messages. Robert posted a script a week or so ago, to look for some of junit issues but it didn't

Re: Harmony passes 94% on derby tests.

2006-10-25 Thread Vladimir Ivanov
Excellent! I have one more idea: we already have buildtest module. Some time ago we agreed to extends it by coverage and japi scripts (I hope it happens soon:) ). May be we extend it one more time and store here some scripts for automatic run of other-projects unit tests? Seems, in this case

Re: [snapshot] Questions about next snapshot...

2006-10-25 Thread Martin Cordova
I can help testing, since I don't have the skills in C/C++. Usually, what I do on linux boxes is: 1.- Minimal O.S. install, text-only. Include XOrg shared libraries. No need to start any XOrg related service. 2.- Install my IBM JRE v1.4.2 3.- Start my java server process (servlet engine) with

Re: [classlib][tests] Junit best practice

2006-10-25 Thread Geir Magnusson Jr.
Cool - but why not just put into SVN somewhere? either in enhanced/tools or classlib/trunk somewhere where it can be invoked as an option by people from ant (so that we can wire it into the CI system...) geir Mark Hindess wrote: Earlier in the year we discussed junit best practice. For

Re: [drlvm][gc] TLS access from GC: a proposal to refactor the code

2006-10-25 Thread Ivan Volosyuk
Excelent point. Performance data is quite needed to make this change. But how we can obtain it without a prototype? What about making experimental patch to measure performance of this optimization? We can safely drop it if it doesn't make sense. -- Ivan On 10/25/06, Nikolay Kuznetsov [EMAIL

Re: [snapshot] Questions about next snapshot...

2006-10-25 Thread Martin Cordova
Oleg, I just read it, does this mean that all methods that don't need to throw the special Headless exception, are ready to work in headless mode? If so, we are just a step away for supporting headless? Regards, Martin On 10/25/06, Oleg Khaschansky [EMAIL PROTECTED] wrote: As Tim asked

Re: [snapshot] Questions about next snapshot...

2006-10-25 Thread Oleg Khaschansky
Oleg, I just read it, does this mean that all methods that don't need to throw the special Headless exception, are ready to work in headless mode? If so, we are just a step away for supporting headless? No. It is not so. On 10/25/06, Martin Cordova [EMAIL PROTECTED] wrote: Oleg, I just read

Re: Harmony passes 94% on derby tests.

2006-10-25 Thread Mark Hindess
On 25 October 2006 at 18:36, Vladimir Ivanov [EMAIL PROTECTED] wrote: Excellent! I have one more idea: we already have buildtest module. Some time ago we agreed to extends it by coverage and japi scripts (I hope it happens soon:) ). May be we extend it one more time and store here some

Re: [general] POLL : supported platforms

2006-10-25 Thread Salikh Zakirov
Morozova, Nadezhda wrote: My two cents... I do not understand the lifecycle of this page. If I report today that my platform works OK, but the next commit brokes it, who will update the page? IMHO if the next commit breakes the work-ok-platform and if you notice it, why not to update

Re: [classlib][tests] Junit best practice

2006-10-25 Thread Geir Magnusson Jr.
Mark Hindess wrote: On 25 October 2006 at 7:41, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: Cool - but why not just put into SVN somewhere? Okay. classlib/trunk/support/tools/bin perhaps? Sure. Whatever you feel is best. I have no strong opinion. We do have junit tests in DRLVM too,

Re: [classlib][test] Configuration dependent test of InetAddress.getHostName

2006-10-25 Thread Denis Kishenko
As I understand all of us vote to remove (comment) check which fails concerned test. So I will prepare a patch. 2006/10/25, Andrew Zhang [EMAIL PROTECTED]: On 10/24/06, Fedotov, Alexei A [EMAIL PROTECTED] wrote: Andrew, I agree that test should be fixed. I suggested using one of the

[classlib][awt] dependency cleanup and potential build breakage

2006-10-25 Thread Mark Hindess
Currently there is a quick hack in make/depends.xml because the awt dependencies have extensions that use a different convention for architecture names than the one used in the rest of classlib. I'm going to fix the README, build.xml files, and makefiles to use the standard harmony define for

Re: Harmony passes 94% on derby tests.

2006-10-25 Thread Geir Magnusson Jr.
Mark Hindess wrote: On 25 October 2006 at 18:36, Vladimir Ivanov [EMAIL PROTECTED] wrote: Excellent! I have one more idea: we already have buildtest module. Some time ago we agreed to extends it by coverage and japi scripts (I hope it happens soon:) ). May be we extend it one more time and

Re: [jira] No change notification from JIRA

2006-10-25 Thread Geir Magnusson Jr.
infrastructure still isn't fully back up yet. Minotaur, the main user machine, didn't make the journey. Ivanov, Alexey A wrote: Hi to everybody, Does anybody know why JIRA stopped sending notifications of a change to issue reporter? Some time ago it didn't work as well. And before the

Re: [classlib][awt] dependency cleanup and potential build breakage

2006-10-25 Thread Geir Magnusson Jr.
Mark Hindess wrote: Currently there is a quick hack in make/depends.xml because the awt dependencies have extensions that use a different convention for architecture names than the one used in the rest of classlib. I'm going to fix the README, build.xml files, and makefiles to use the

Re: [drlvm][gc] TLS access from GC: a proposal to refactor the code

2006-10-25 Thread Salikh Zakirov
Evgueni Brevnov wrote: Hi Guys, Just one little note from me... AFAIK Window and Linux have limitation on the number of TLS slots which can be allocated for any particular thread. I believe here is strong (probably performance) reasons for doing so. It can be a problem to implement

RE: [jira] No change notification from JIRA

2006-10-25 Thread Ivanov, Alexey A
Geir, Thank you for your quick answer. Regards -- Alexey A. Ivanov Intel Middleware Product Division -Original Message- From: Geir Magnusson Jr. [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 25, 2006 5:02 PM To: harmony-dev@incubator.apache.org Subject: Re: [jira] No change

Re: [drlvm][gc] TLS access from GC: a proposal to refactor the code

2006-10-25 Thread Ivan Volosyuk
On 10/25/06, Salikh Zakirov [EMAIL PROTECTED] wrote: Evgueni Brevnov wrote: Hi Guys, Just one little note from me... AFAIK Window and Linux have limitation on the number of TLS slots which can be allocated for any particular thread. I believe here is strong (probably performance) reasons

Re: svn commit: r467552 - in /incubator/harmony/enhanced/drlvm/trunk/vm: tests/smoke/StackTest.java vmcore/src/util/ia32/base/compile_IA32.cpp vmcore/src/util/linux/signals_ia32.cpp vmcore/src/util/wi

2006-10-25 Thread Gregory Shimansky
Hello Weldon I've noticed that along with changes from Rana's patch from HARMONY-1786 you've committed some changes compile_IA32.cpp. They don't seem to be related to the patch, but rather a part of MMTK integration. Could it be that you had some modifications to compile_IA32.cpp and accidently

Re: [classlib][luni] signalis interruptus in hysock

2006-10-25 Thread Weldon Washburn
On 10/24/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: Weldon Washburn wrote: It seems JIRA is down for maintenance. If HARMONY-1904 is still open perhaps it makes sense to put a counter in the while (...) { select...} loop. And after every N loops, print a warning/diagnostic message.

Re: [classlib][serialization] Conditional object replacement in ObjectInputStream - bug in RI?

2006-10-25 Thread Alexei Zakharov
Hi, I have posted the patch for HARMONY-1920. I will be glad if some committer take a look at it. I mean the more powerfull one than me :-/ I've also tried to resolve HARMONY-1921, but it seems a good luni expertice is required for that. So it may be the good task for local luni exprets

[build][federation] building snapshots and releases

2006-10-25 Thread Mark Hindess
Currently, the federation build looks at the revision of the federation tree that you have checked out and checks out the same revision of the classlib and drlvm trees. Since we want releases to be reproducible (i.e. known tags of not only classlib and drlvm but also of the federation code that

Re: [classlib][awt] dependency cleanup and potential build breakage

2006-10-25 Thread Mark Hindess
On 25 October 2006 at 9:04, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: Mark Hindess wrote: Currently there is a quick hack in make/depends.xml because the awt dependencies have extensions that use a different convention for architecture names than the one used in the rest of classlib.

Re: svn commit: r467634 - in /incubator/harmony/enhanced/classlib/trunk/doc: build.xml vminterface/natives.cfg

2006-10-25 Thread Mark Hindess
Thanks Paulex. I really should have remembered that when I committed that the JIRA to move that code. -Mark. On 25 October 2006 at 13:21, [EMAIL PROTECTED] wrote: Author: pyang Date: Wed Oct 25 06:21:53 2006 New Revision: 467634 URL: http://svn.apache.org/viewvc?view=revrev=467634 Log:

Re: [classlib][luni] signalis interruptus in hysock

2006-10-25 Thread Ivan Volosyuk
On 10/25/06, Weldon Washburn [EMAIL PROTECTED] wrote: On 10/24/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: Weldon Washburn wrote: It seems JIRA is down for maintenance. If HARMONY-1904 is still open perhaps it makes sense to put a counter in the while (...) { select...} loop. And

[classlib][security]Re: [jira] Created: (HARMONY-1963) [classlib][security] Harmony cannot read security policy file correctly

2006-10-25 Thread Paulex Yang
Any security guys can help to look at this issue? thanks in advance. I haven't found time to looked closer to find the cause yet, but it seems a little serious. Paulex Yang (JIRA) wrote: [classlib][security] Harmony cannot read security policy file correctly

Re: [drlvm] Class unloading support

2006-10-25 Thread Weldon Washburn
On 10/24/06, Aleksey Ignatenko [EMAIL PROTECTED] wrote: *Automatic class unloading approach.* Automatic class unloading means that j.l.Classloader instance is unloaded automatically (w/o additional enumeration tricks or GC dependency) and after we detect that some class loader was unloaded we

Re: [classlib][tests] Junit best practice

2006-10-25 Thread Denis Kishenko
Mark, I have just tried your tool. It's really helpful, thanks a lot! It's so pitty that script doesn't fix issues by itself =) 2006/10/25, Geir Magnusson Jr. [EMAIL PROTECTED]: Mark Hindess wrote: On 25 October 2006 at 7:41, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: Cool - but why not

Re: [drlvm] Class unloading support

2006-10-25 Thread Pavel Pervov
Weldon, You sort of missed that in the proposal. Current (possibly compressed) vtable pointer at the offset 0 in the object layout will be replaced with (possibly compressed) ManagedObject*. VTable itself is going to become an object allocated in Java heap. So, no encrease in object size.

[classlib][awt] headless support (was: Re: [snapshot] Questions about next snapshot...)

2006-10-25 Thread Tim Ellison
Martin Cordova wrote: Oleg, I just read it, does this mean that all methods that don't need to throw the special Headless exception, are ready to work in headless mode? Right, that is my question too. I've seen the general description at the URL Oleg sent, it's hardly a spec tho'. Presumably

Re: [drlvm] Class unloading support

2006-10-25 Thread Pavel Pervov
And yes, there will be reference to corresponding java/lang/Class in VTable object. Which means that j/l/Class will be reachable from any object of this class. So, still no object size increase. :) Pavel. On 10/25/06, Weldon Washburn [EMAIL PROTECTED] wrote: On 10/24/06, Aleksey Ignatenko

Re: [general] Board resolution for Apache Harmony project

2006-10-25 Thread Geir Magnusson Jr.
any comments? any at all? Geir Magnusson Jr. wrote: I've been anticipating this moment for 2 years now... :) While it doesn't seem possible given infrastructure issues that are interfering with mail to get something in front of the board tomorrow (plus the fact that the board likes things

Re: [general] POLL : supported platforms

2006-10-25 Thread Tim Ellison
I agree with Salikh -- the wiki will never keep up if you expect such frequent manual updates. That's a job for the test results' collator. Regards, Tim Salikh Zakirov wrote: Morozova, Nadezhda wrote: My two cents... I do not understand the lifecycle of this page. If I report today that

Re: [classlib][tests] Junit best practice

2006-10-25 Thread Mark Hindess
On 25 October 2006 at 18:38, Denis Kishenko [EMAIL PROTECTED] wrote: Mark, I have just tried your tool. It's really helpful, thanks a lot! It's so pitty that script doesn't fix issues by itself =) It could (and I have been known to use scripts to fix things) but as Nathan recently pointed

Re: [build][federation] building snapshots and releases

2006-10-25 Thread Geir Magnusson Jr.
Mark Hindess wrote: Currently, the federation build looks at the revision of the federation tree that you have checked out and checks out the same revision of the classlib and drlvm trees. That was just for convenience if you don't care. It doesn't work all that well in practice, because

Re: [classlib][awt] headless support (was: Re: [snapshot] Questions about next snapshot...)

2006-10-25 Thread Oleg Khaschansky
Right, that is my question too. I've seen the general description at the URL Oleg sent, it's hardly a spec tho'. I don't think that spec for this exists. Another document on this is [1]. It describes what can and what cannot be done in headless mode. But we also have the list of methods which

Re: [general] Board resolution for Apache Harmony project

2006-10-25 Thread Rana Dasgupta
On 10/25/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: any comments? any at all? Geir, Sorry about my confusion. Is this synonymous with or a part of the process of applying to Apache to graduate us from incubator status? Thanks, Rana

Re: [general] Board resolution for Apache Harmony project

2006-10-25 Thread Rana Dasgupta
I see, thanks. The TLP proposal looks good to me. Rana On 10/25/06, Geir Magnusson Jr. [EMAIL PROTECTED] wrote: Rana Dasgupta wrote: On 10/25/06, *Geir Magnusson Jr.* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: any comments? any at all? Geir, Sorry about

[drlvm][test]Exclude some tests from build test target, make 'build test' pass

2006-10-25 Thread Volynets, Vera
Geir Some tests launched by command build test fail. The idea of build test is to run it before each commit. In this way you can catch regressions. In order to effectively catch regressions, i.e. tests that started to fail after some change, it's necessary to have 'build test' pass in a stable

RE: [general] POLL : supported platforms

2006-10-25 Thread Morozova, Nadezhda
Ok, thanks all, I see now. Can I suggest that we define the supported platforms (the term itself + the list of currently supported combinations) on the site. We can also keep a Wiki page for related issues. The platform support info could go to the download-snapshots page. Thank you, Nadya

Re: [drlvm][test]Exclude some tests from build test target, make 'build test' pass

2006-10-25 Thread Rana Dasgupta
The ideal way would be for acceptance tests like build test to always pass and to catch and roll back the patch that breaks this invariant, rather than to disable the tests. But I agree with Vera, it is important to keep a running set up as acceptance tests, so disabling the well known failures

Re: [classlib][awt] headless support (was: Re: [snapshot] Questions about next snapshot...)

2006-10-25 Thread Oleg Khaschansky
If you mean libxlib, how it could be used without X server? Maybe some other library (e.g. font library like xft) simply preloads it during its initialization or tries to connect to the server (XOpenDisplay) to get some data, fails and uses defaults? Anyway, I think, testing on a headless

Re: [classlib][awt] headless support (was: Re: [snapshot] Questions about next snapshot...)

2006-10-25 Thread Martin Cordova
I don't know how it works, but what I can do is try to use headless without XOrg shared libs installed, and then take note of the missing .so modules the IBM JVM complains about). Regards, Martin On 10/25/06, Oleg Khaschansky [EMAIL PROTECTED] wrote: If you mean libxlib, how it could be used

Re: [classlib][awt] headless support (was: Re: [snapshot] Questions about next snapshot...)

2006-10-25 Thread Oleg Khaschansky
Could it be treated as a reverse engineering? I don't know :) On 10/25/06, Martin Cordova [EMAIL PROTECTED] wrote: I don't know how it works, but what I can do is try to use headless without XOrg shared libs installed, and then take note of the missing .so modules the IBM JVM complains about).

  1   2   >