Re: {DRLVM] MMTK bootstrap design issues

2006-06-02 Thread Rodrigo Kumpera
On 6/2/06, Weldon Washburn <[EMAIL PROTECTED]> wrote: All, The conventional approach is to ahead of time compile MMTK to an executable image. Then load this image during JVM initialization. This means building some sort of AOT infrastructure. I would like to avoid this for initial bring up if

Re: [DRLVM] MMTK porting issues, take one

2006-06-02 Thread Rodrigo Kumpera
On 6/2/06, Weldon Washburn <[EMAIL PROTECTED]> wrote: All, Perhaps the following is already covered in documentation. If this is the case, please tell me where to find it. Below are some initial questions regarding porting MMTK to DRLVM. A question about org.vmmagic.pragma.InlinePragma class.

Re: [DRLVM] proposal to port MMTK to drlvm

2006-05-24 Thread Rodrigo Kumpera
Note that read barriers are also needed if you want to implement a GC like Baker's real time copying collector that uses incremental forwarding. Rodrigo On 5/24/06, Weldon Washburn <[EMAIL PROTECTED]> wrote: On 5/24/06, Ivan Volosyuk <[EMAIL PROTECTED]> wrote: > I have a patch for drlvm which

Re: [jira] Commented: (HARMONY-40) FileChannel assotiated with FileOutputStream not closed after closing output stream

2006-01-25 Thread Rodrigo Kumpera
Isn't the idea to have a shared implementation that both FileChannel and java.io stream. Can't we just use some sort of reference counting to close it on finalize? On 1/25/06, Rodrigo Kumpera <[EMAIL PROTECTED]> wrote: > On 1/25/06, Paulex Yang <[EMAIL PROTECTED]> wrote:

Re: [jira] Commented: (HARMONY-40) FileChannel assotiated with FileOutputStream not closed after closing output stream

2006-01-25 Thread Rodrigo Kumpera
On 1/25/06, Paulex Yang <[EMAIL PROTECTED]> wrote: > Agree, it should, but currently not in Harmony. > > Rodrigo Kumpera wrote: > > Aren't channels supposed to hold references to the original streams? > > > > On 1/24/06, Paulex Yang <[EMAIL PROTECTED]>

Re: [jira] Commented: (HARMONY-40) FileChannel assotiated with FileOutputStream not closed after closing output stream

2006-01-25 Thread Rodrigo Kumpera
Aren't channels supposed to hold references to the original streams? On 1/24/06, Paulex Yang <[EMAIL PROTECTED]> wrote: > The patch does work in some case, but it is not enough. > > First, when the channel is closed, the relevant stream(FileInputStream, > FileOutputStream or RandomAccessFile) also

Re: java.util.concurrent implementation

2006-01-24 Thread Rodrigo Kumpera
though I agree with Paulex that it should > move into LUNI). If the functionality of OSMemory is lacking we can, of > course, extend it to support concurrent. > > Regards, > Tim > > Rodrigo Kumpera wrote: > > Can we import the backport of jsr-166 as the starting point for

Re: java.util.concurrent implementation

2006-01-23 Thread Rodrigo Kumpera
t; "public domain" doesn't mean "clean pedigree"... > > > > But yes, certainly worth investigating. Can you look into it? > > > > Rodrigo Kumpera wrote: > > > Can we import the backport of jsr-166 as the starting point for > > > im

java.util.concurrent implementation

2006-01-23 Thread Rodrigo Kumpera
Can we import the backport of jsr-166 as the starting point for implementing this package? It's released as public domain, so there should be not license issue IFAIK. There are only a few things required make it work, like removing references to com.sun.Unsafe.

Re: NIO Component improvement

2006-01-18 Thread Rodrigo Kumpera
I have a few comments to make. First, don't use Microsoft Word, please. Having this on the wiki would be wonderful. Socket and SocketChannel have some very weird strange relationship: 1)Socket and ServerSocket must be implemented in terms of SocketImpl, as a user can supply a custom SocketImpl as

Re: Test framework

2006-01-16 Thread Rodrigo Kumpera
I think allowing tests to be fully executable in Java (i.e. a certified jvm) would be really tricky. Some black-magic to rename all classes would be required, and testing some core functionality would be really hard - think synchronization and threading. But for most classes this is perfectly doab

Re: Bootstrapping the classlibrary builds

2005-12-29 Thread Rodrigo Kumpera
The source is attached. I've done some changes to compute dependencies. So the result is a bit diferent. On 12/28/05, Stefano Mazzocchi <[EMAIL PROTECTED]> wrote: > Rodrigo Kumpera wrote: > > Just for curiosity I've written a small program that enumerate all >

Re: Bootstrapping the classlibrary builds

2005-12-29 Thread Rodrigo Kumpera
of components we ended up with was proposed a while ago on the > wiki[1], but it's certainly open for debate. > > [1] http://wiki.apache.org/harmony/ClassLibrary > > Regards, > Tim > > > Rodrigo Kumpera wrote: > > Just for curiosity I've written a small p

Re: Bootstrapping the classlibrary builds

2005-12-28 Thread Rodrigo Kumpera
Just for curiosity I've written a small program that enumerate all graph cycles of packages dependencies in Java 1.4 (counting only fields, methods and super types). This shows that for most packages this won't be an issue and a packaging that have no cyclic dependencis is possible. Given the crit

Re: JVM spec interpretation questions

2005-12-28 Thread Rodrigo Kumpera
On 12/28/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > All, > > For you gurus out there, I have some questions about > interpretation of the JVM 2.0 spec. I am trying to clarify > certain operational details of array and exception handling. > I would appreciate the collective wisdom of you

Re: ASF has been shipping GPL exception stuff for years and still is ;)

2005-12-05 Thread Rodrigo Kumpera
I wonder if the classpath vm interface classes where public domain that issue would be solved. After all, there isn't much value, I believe, on these classes only. On 12/5/05, Davanum Srinivas <[EMAIL PROTECTED]> wrote: > Yes, sublicensing. I believe the terms are not clear on how third > partie

Re: [arch] Harmony VM & JSR166 integration

2005-11-25 Thread Rodrigo Kumpera
I think park/unpack can be implemented using java monitors without much trouble. On 11/25/05, Andrey Chernyshev <[EMAIL PROTECTED]> wrote: > I've been thinking a bit about the java.util.concurrent package, and > how we might want to approach it here in Harmony. What kind of > modifications one m

Re: Call for Contributions (was Re: 4 Months and...)

2005-11-23 Thread Rodrigo Kumpera
compare against BootJVM and > JCHEVM. Are you still willing to contribute your JVM? > > I reply to you directly because I'm not sure if you still want to > contribute your JVM. You can also answer to this mail on harmony-dev if > you want your answer to be public. > > Regards,

Re: VM/Class Library Interface (or "Storming the Gates! Take 3!")

2005-11-04 Thread Rodrigo Kumpera
I cannot see how adding package private classes can possibly be classified as 'extend the defined namespaces'. This makes perfect sense and allow implementation classes easier access the guts of spec classes (eg, org.apache.harmony.ClassLoaderStuff will have some hard time to mess with java.lang.Cl

Re: half-baked idea? j2me

2005-11-01 Thread Rodrigo Kumpera
On 11/1/05, Robin Garner <[EMAIL PROTECTED]> wrote: > > On 11/1/05, Robin Garner <[EMAIL PROTECTED]> wrote: > >> Rodrigo Kumpera wrote: > >> > >> >AFAIK IKVM, sablevm and jamvm all run on portable devices. > >> > > >> >Develo

Re: half-baked idea? j2me

2005-11-01 Thread Rodrigo Kumpera
On 11/1/05, Robin Garner <[EMAIL PROTECTED]> wrote: > Rodrigo Kumpera wrote: > > >AFAIK IKVM, sablevm and jamvm all run on portable devices. > > > >Developing a j2me jvm is not as easier as it seens, first, the > >footprint and execution performance must be rea

Re: half-baked idea? j2me

2005-10-31 Thread Rodrigo Kumpera
AFAIK IKVM, sablevm and jamvm all run on portable devices. Developing a j2me jvm is not as easier as it seens, first, the footprint and execution performance must be really optimized, so expect a LOT of assembly coding. After that, a jvm that runs in no device is pretty much useless, then we woul

Re: MSVC support, was: Compilers and configuration tools

2005-10-26 Thread Rodrigo Kumpera
using the current scripts. > > (Sorry I didn't think to put the effort into this in > > the first place, as I deemed getting the code base done > > first the more important item.) > > > > Would The List be interested in me replacing these simple > > shell scri

Re: MSVC support, was: Compilers and configuration tools

2005-10-24 Thread Rodrigo Kumpera
Supporting many compilers have a few problems, the three I can think of right now are, assembly sintax (intel x at&t), compiler extensions (gcc's computed goto can speed interpreters a lot) and c++ libraries nuanses (iff c++ is used). On 10/24/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >

Re: Some questions about the architecture

2005-10-21 Thread Rodrigo Kumpera
On 10/21/05, Apache Harmony Bootstrap JVM <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Rodrigo Kumpera <[EMAIL PROTECTED]> > > Sent: Oct 21, 2005 12:08 PM > > To: harmony-dev@incubator.apache.org > > Subject: Re: Som

Re: Some questions about the architecture

2005-10-21 Thread Rodrigo Kumpera
On 10/21/05, Tom Tromey <[EMAIL PROTECTED]> wrote: > > "Dan" == Apache Harmony Bootstrap JVM <[EMAIL PROTECTED]> writes: > > Dan> I agree that the verifier should look into this, but what happens if > Dan> you get a divide by zero error? Or a null pointer exception? These > Dan> are not avail

Re: Small problems building under cygwin

2005-10-21 Thread Rodrigo Kumpera
tions. Maybe that's because I do suck when using and developing with autotools and I hope so. Anyway, configure scripts are really sweet... when they work and don't screw up too badly. On 10/21/05, Dalibor Topic <[EMAIL PROTECTED]> wrote: > On Fri, Oct 21, 2005 at 01:08:34P

Re: Some questions about the architecture

2005-10-21 Thread Rodrigo Kumpera
On 10/21/05, Apache Harmony Bootstrap JVM <[EMAIL PROTECTED]> wrote: > > Comments below. > > -Original Message----- > From: Rodrigo Kumpera <[EMAIL PROTECTED]> > Sent: Oct 20, 2005 1:49 PM > To: harmony-dev@incubator.apache.org > Subject: Re: Some question

Re: Small problems building under cygwin

2005-10-21 Thread Rodrigo Kumpera
e should see what everyone thinks > about MSVC in particular. > > Dan Lydick > > > -Original Message- > From: Rodrigo Kumpera <[EMAIL PROTECTED]> > Sent: Oct 20, 2005 12:40 PM > To: harmony-dev@incubator.apache.org > Subject: Re: Small problems building

[BootJVM] macros that redefine printf and others

2005-10-20 Thread Rodrigo Kumpera
Dan, I think they should expand to #error instead of expanding to wrong code. BTW, have you thought about using make to have incremental builds?

Re: Some questions about the architecture

2005-10-20 Thread Rodrigo Kumpera
you think? > > > Further comments follow... > > -----Original Message- > From: Rodrigo Kumpera <[EMAIL PROTECTED]> > Sent: Oct 19, 2005 4:49 PM > To: harmony-dev@incubator.apache.org > Subject: Re: Some questions about the architecture > > On 1

Re: Small problems building under cygwin

2005-10-20 Thread Rodrigo Kumpera
it has a large installed > base, and a Windows version of the build scripts > should be able to support both. I suggest that we > could have the compiler as one of the configuration > options in 'config.sh' for Windows and CygWin, also > for the Windows .BAT file equivalen

Small problems building under cygwin

2005-10-19 Thread Rodrigo Kumpera
I've found a small issue while building under cygwin. I'm using j2sdk 1.4 and gcc 3.4.4 (cygwin). The problems are when building the jni stuff. First it included on gcc find patch "j2sdk\include\cygwin", but it should be "j2sdk\include\win32". Second is when building the included file "jni_md.h"

Re: Some questions about the architecture

2005-10-19 Thread Rodrigo Kumpera
On 10/19/05, Apache Harmony Bootstrap JVM <[EMAIL PROTECTED]> wrote: > > > -Original Message- > From: Rodrigo Kumpera <[EMAIL PROTECTED]> > Sent: Oct 19, 2005 1:49 PM > To: harmony-dev@incubator.apache.org, Apache Harmony Bootstrap JVM <[EMAIL > PROTE

Re: Some questions about the architecture

2005-10-19 Thread Rodrigo Kumpera
r on stack (since it's the one used to lookup classes for deserialization); Security needs to walk the stack for performing checks on the code base of each method on on; and JNI needs this as exceptions are queued for using by the ExceptionOccurred call. I did look at opcode.c and thread.c but

Re: Changes to bootjvm 0.0.0 coming soon

2005-10-18 Thread Rodrigo Kumpera
On 10/18/05, Zsejki Sorin Miklós <[EMAIL PROTECTED]> wrote: > Rodrigo Kumpera wrote: > > >On 10/18/05, Archie Cobbs <[EMAIL PROTECTED]> wrote: > > > > > >>Rodrigo Kumpera wrote: > >> > >> > >>>This won´t help to find the

Re: Changes to bootjvm 0.0.0 coming soon

2005-10-18 Thread Rodrigo Kumpera
On 10/18/05, Archie Cobbs <[EMAIL PROTECTED]> wrote: > Rodrigo Kumpera wrote: > > This won´t help to find the spots that require memory barriers, as > > these are only an issue on SMP systems. But your idea should not be > > discarded as it may help with other kinds

Re: Changes to bootjvm 0.0.0 coming soon

2005-10-18 Thread Rodrigo Kumpera
This won´t help to find the spots that require memory barriers, as these are only an issue on SMP systems. But your idea should not be discarded as it may help with other kinds of problems. On 10/17/05, Archie Cobbs <[EMAIL PROTECTED]> wrote: > Apache Harmony Bootstrap JVM wrote: > > For testing

Re: Changes to bootjvm 0.0.0 coming soon

2005-10-17 Thread Rodrigo Kumpera
w), I will be checking in the changes for the > 0.0.1 release, which will be enough for someone to > get started evaluating the code in a fairly final form. > With the 0.0.2 release, the test cases will be able to > be exercised. > > Dan Lydick > > -Original Messag

Re: Changes to bootjvm 0.0.0 coming soon

2005-10-17 Thread Rodrigo Kumpera
These are really good news Dan! I think we could start writing test code for the runtime functionality like proper null checks, array bounds, class initialization, synchronization and such. On 10/17/05, Apache Harmony Bootstrap JVM <[EMAIL PROTECTED]> wrote: > > Everyone, > > I've been working h

Re: [arch] Interpreter vs. JIT for Harmony VM

2005-09-21 Thread Rodrigo Kumpera
Having a mixed JITed-interpreted enviroment makes things harder. Writing a baseline, single pass JITer is easy, but there are A LOT more stuff to make a port that just the code execution part. JikesRVM have a base JITer class that does the bytecode decoding and one subclass per platform that does

Re: Call for Contributions (was Re: 4 Months and...)

2005-09-20 Thread Rodrigo Kumpera
I've written a pet JVM in Java, it includes a very simple JITer, no GC (but it is starting to use MMtk magic, so should be doable to use it), no self-hosting and no support for native code. The code have never left my machine but I'm willing to donate if is desirable. []'s Rodrigo On 9/20/05, G

Re: [arch] voluntary vs. preemptive suspension of Java threads

2005-09-10 Thread Rodrigo Kumpera
I was wondering what similarities on-stack replacement of JITed code have with suspension with code patching. On 9/9/05, Xiao-Feng Li <[EMAIL PROTECTED]> wrote: > Thanks, Rodrigo and Shudo. ORP had a similar approach as code patching > previously, which we called "IP hijacking". We found, as you

Re: [arch] voluntary vs. preemptive suspension of Java threads

2005-09-01 Thread Rodrigo Kumpera
Some time ago someone on this list pointed to a paper from Sun folks about this subject. >From what I remember, they tried the folllowing tecniques: -Pooling on back-edges and call/return, using ether a boolean flag or forcing a page-fault at a specific address. They noticed that page-faulting ha

Re: [arch] Modular JVM component diagram

2005-08-30 Thread Rodrigo Kumpera
Using APR doesn´t mean Harmony won´t be posix compliant. Only that it will be one layer above the posix stuff. On 8/30/05, Xiao-Feng Li <[EMAIL PROTECTED]> wrote: > Hi, Ron, I think your concern is valid. We fully understand POSIX has > been and is being used widely. That's why we want to have a

Re: AWT/Swing

2005-07-15 Thread Rodrigo Kumpera
On 7/15/05, PJ Cabrera <[EMAIL PROTECTED]> wrote: > Sven, Tom, > > Thanks for the suggestions. I mentioned SwingWT in the interest of not > reinventing the wheel. Of course other peers could be written. > > Sven, how far along on the Qt peers are you? Which version of Qt are you > using? > > I'm

Re: Minutes of First Harmony Meeting

2005-07-05 Thread Rodrigo Kumpera
This is insane, if implementing the classlibrary takes half the time the GNU folks are on the road, by the time Harmony completes 1.5, 2010+, it will be history. Leveraging ASL compatible software is the only feasible way to have it progress. On 7/5/05, Weldon Washburn <[EMAIL PROTECTED]> wrote:

Re: Security

2005-07-03 Thread Rodrigo Kumpera
Java can offer true sandboxing, while with C no library wrapping can stop you from doing syscalls. On 7/3/05, Geir Magnusson Jr. <[EMAIL PROTECTED]> wrote: > > On Jul 3, 2005, at 8:25 AM, Ben Laurie wrote: > > > Joel Neely wrote: > > > >> Typed, constrained object references vs. untyped, uncon

Re: [modules] classloader/jit interface

2005-06-24 Thread Rodrigo Kumpera
If the API is meant to be language agnostic, it's just a bunch of constants and a function vector. This should provide enouth to build a better layer for each language. The API between a Java JITer and a C JVM should be coarse grained since cross-language calls are slow. ORP defines a very nice C+

Re: [modules] Packaging Class Libraries

2005-06-10 Thread Rodrigo Kumpera
On 6/10/05, Richard S. Hall <[EMAIL PROTECTED]> wrote: > Rodrigo Kumpera wrote: > > >AFAIK the term extension classloader is used for application created > >classloaders. The application classloader handles classpath and > >installed extends (the dreaded /lib/ext

Re: [modules] Packaging Class Libraries

2005-06-09 Thread Rodrigo Kumpera
On 6/9/05, Richard S. Hall <[EMAIL PROTECTED]> wrote: > Rodrigo Kumpera wrote: > > >OSGi is really nice to work, but I doubt it can be used within the > >class library. Most code except that a JVM will create at most 2 > >classloader, the bootstrap classload

Re: [modules] Packaging Class Libraries

2005-06-09 Thread Rodrigo Kumpera
OSGi is really nice to work, but I doubt it can be used within the class library. Most code except that a JVM will create at most 2 classloader, the bootstrap classloader (which can be null) and the application classloader. On 6/9/05, Richard S. Hall <[EMAIL PROTECTED]> wrote: > Geir Magnusson J

Re: [arch] VM/Classlibrary interface

2005-05-28 Thread Rodrigo Kumpera
On 5/28/05, Dalibor Topic <[EMAIL PROTECTED]> wrote: > Rodrigo Kumpera wrote: > > >>b) an accidental mistake, then you fix the small bug in your code, feel > >>better about the quality of your code, and move on. > > > > > > > > I agree wit

Re: [arch] VM/Classlibrary interface

2005-05-28 Thread Rodrigo Kumpera
On 5/28/05, Dalibor Topic <[EMAIL PROTECTED]> wrote: > > Rodrigo Kumpera wrote: > > Last time I checked, no one, nether me or you, is developing code agains > the > > TCK, but to a real JVM. And as hard as we may try, sometimes we end with > > software that de

Re: [arch] VM/Classlibrary interface

2005-05-27 Thread Rodrigo Kumpera
On 5/27/05, Geir Magnusson Jr. <[EMAIL PROTECTED]> wrote: > > > On May 27, 2005, at 4:34 PM, Rodrigo Kumpera wrote: > > > We should provide wrappers to classes for the sake of > > compatibility. Are > > there any legal problems with doing so? > &

Re: Work items

2005-05-27 Thread Rodrigo Kumpera
Latelly I've been playing with a toy JITer written in java (like jikesRVM baseline compiler) for x86 on windows. It works on a single pass and perform no optimizations at all, but the generated code is correct. The parts missing are the hard ones, object allocation and exception handling. Next

Re: [arch] VM/Classlibrary interface

2005-05-27 Thread Rodrigo Kumpera
We should provide wrappers to classes for the sake of compatibility. Are there any legal problems with doing so? Unfortunately, some Apache > software actually does rely on com.sun classes, e.g. the SSL connectors > in Tomcat. > > Tor > > >

Re: Terminology etc

2005-05-24 Thread Rodrigo Kumpera
I think you dind't quite get how it works with MMtk. There are a few "magic" classes that receive special treatment from the compiler and translates method calls into pointer operations. This way MMtk can operate under the same condition of C code. I'm not sure how did you relate interface ca

Re: Terminology etc

2005-05-24 Thread Rodrigo Kumpera
There isn't much space for plugability of components beyond compile-link time. And I see no reason to have it otherwise. Rodrigo On 5/24/05, Geir Magnusson Jr. <[EMAIL PROTECTED]> wrote: > > > On May 24, 2005, at 4:49 AM, Dmitry Serebrennikov wrote: > > > > > * "OS interface" is perhaps one p

Re: [arch] VM Candidate : JikesRVM http://jikesrvm.sourceforge.net/

2005-05-23 Thread Rodrigo Kumpera
A good way to define milestones that are perceptible by the general public (Bare FOSS that runs fine on Harmony. Something like a Geronimo or Eclipse (Bmilestones. (B It's a way to deliver something that is valuable before the JCK compliant (Bproduct ships,which will take a couple of years.

Re: [arch] The Third Way : C/C++ and Java and lets go forward

2005-05-23 Thread Rodrigo Kumpera
Not true. A java-in-java JVM don´t need any C code. Making syscalls is as hard as calling a C function (from the assembly point of view), so providing a wrapper for ether native functions or system calls is not that big deal. But, well, it would be a lot more profitable to leverage APR to do a l

Re: [arch] The Third Way : C/C++ and Java and lets go forward

2005-05-23 Thread Rodrigo Kumpera
I still think a java-in-java solution is the way to go. All components can be tested from a JVM until it can hosts itself. The only reason for using C/C++ is with a vm as seed. If the objective is to write a high performance JVM, having a vm with an interpreter doesn't help much. Starting with

Re: Threading

2005-05-22 Thread Rodrigo Kumpera
Green threads have a lot of problems that are hard to solve. You have to deal with blocking function, interupts, syscall restarts, blocking native code, etc... JikesRVM handles that gracefully? My impression is that everyone is dropping this M:N model because of implementation issues. BEA dropp

Re: [arch] VM Candidate : JikesRVM http://jikesrvm.sourceforge.net/ (and some bla bla about compilers and stuff)

2005-05-20 Thread Rodrigo Kumpera
jikesRVM have 3 compilers, baseline, quick and opt. baseline is meant to have jit times comparable to an interpreter preparation time[1]. quick is a replacement for baseline on PPC, as the generated code is too slow, and aim to only get low hanging fruits. It's a linear, one pass compiles, so i

Re: [arch] VM Candidate : JikesRVM http://jikesrvm.sourceforge.net/

2005-05-19 Thread Rodrigo Kumpera
Sure it does, we would be writing just a front-end. Which in case is not an option for Harmony, since such code must be GPL. Does anybody know if GCC allows such a thing? > > Keep in mind I know squad about GCC and friends. > > -- > Stefano, who should really do his homework some day. > >

Re: [arch] VM Candidate : JikesRVM http://jikesrvm.sourceforge.net/

2005-05-19 Thread Rodrigo Kumpera
I think jikesrvm can be executed from another JVM, this should make debugging easy. On 5/19/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > The problem of Java written JVM/JIT isn't one of performance. You can > > theoretically achieve the same performance (although I'm not 100% > > con

[license] Contributions from tainted developers?

2005-05-19 Thread Rodrigo Kumpera
Hi, What can someone that agreed to the SCSL contribute? I've agreed on the SCSL for the 1.4.2 JVM and I want to contribute to Harmony. I did a carefull reading of the license and in my layman's undestanding, I cannot contribute to anything that is convered by the 1.4.2 spec since it would

Re: Cross plaform issues

2005-05-18 Thread Rodrigo Kumpera
My bad, I've not looked enouth on the poll api. On 5/18/05, Mladen Turk <[EMAIL PROTECTED]> wrote: > > Rodrigo Kumpera wrote: > > A quick look at APR reveal that it doesn´t provide all OS abstraction > that a > > JVM needs. > > I tend to disagree wi

Cross plaform issues

2005-05-17 Thread Rodrigo Kumpera
A quick look at APR reveal that it doesn´t provide all OS abstraction that a JVM needs. There are no functions to mark pages as executable, access to scalable IO facilities (IOCP, epoll, kqueue, etc...) or workarounds for small diferences on syscalls or libC implementation. I think Harmony shou

Re: Developing Harmony

2005-05-17 Thread Rodrigo Kumpera
If C/C++ is going to be used, the reference compiler is gcc. I don´t think the pascal frontend of gcc is up to the others. Rodrigo On 5/17/05, Bryce Leo <[EMAIL PROTECTED]> wrote: > > Now don't go too crazy for my suggesting this, but why not pascal? If > we're considering C as it is this re

Re: Developing Harmony

2005-05-17 Thread Rodrigo Kumpera
C++, just C++, is a recipe for trouble. Most projects that use it define a subset to make development a less painfull talk. Usually operator overloading, templates and virtual inheritance are discarded. Rodrigo On 5/17/05, Ben Laurie <[EMAIL PROTECTED]> wrote: > > Jónas Tryggvi Jóhannsson wrot

Re: Apache Harmony / GNU Classpath

2005-05-17 Thread Rodrigo Kumpera
The free JVMs based on it ether use vanilla Classpath or have some custization for some key classes. Making it plugable a layer above it's VM interface will be a nightmare to mantain. Maybe if you can point to a use-case where the might make any sense, many here will think positively about. R

Re: Stop this framework/modularity madness!

2005-05-17 Thread Rodrigo Kumpera
ng to make this possible on their JVM, but right now they can't really say how it will look when finished. Rodrigo On 5/17/05, Royce Ausburn <[EMAIL PROTECTED]> wrote: > > > Ack - Sorry about the incomplete mail. > > On 17/05/2005, at 3:58 AM, Rodrigo Kumpera wro

Re: The topic of the Java Compiler

2005-05-17 Thread Rodrigo Kumpera
Nether support apt, AFAIK, which seens to be an easier task to do with the Eclipse compiler. Rodrigo On 5/16/05, Nick Lothian <[EMAIL PROTECTED]> wrote: > > > > > > "Berlin" == Berlin Brown <[EMAIL PROTECTED]> writes: > > > > Berlin> The compiler seems to be a non-issue at this time > > wit

Re: Intro to Classpath

2005-05-17 Thread Rodrigo Kumpera
I'm wondering, some parts of the JDK seens to be product features and not a standard. For examples, the sound system should use arts, esd or alsa (I believe Sun support the last 2). The printing system should support cups, lprng or both? The same goes for the crypto algorithms on the pack. Rodr

Re: Java

2005-05-17 Thread Rodrigo Kumpera
A good way to get people started is having something like the Linux Kernel Janitor Project. Rodrigo On 5/16/05, Ahmed Saad <[EMAIL PROTECTED]> wrote: > hi all... i'm a computer science student located in cairo, egypt with a > modest experience in c/c++ (wrote some bsd-style sockets and posix stu

Stop this framework/modularity madness!

2005-05-16 Thread Rodrigo Kumpera
Making Harmony modular enouth to be kind of a JVM framework cannot be done before having a working JVM. There is a lot of literature about how frameworks should emerge from continuous design and development. This must not be the focus until required, so no JIT plugable layer until someone tries to

Re: Compilation of other languages

2005-05-14 Thread Rodrigo Kumpera
It's never that simple. Python have some HUGE diference in terms of semantics and runtime behavior for Java or .NET. People already mentioned about the fact that it uses reference counting, this makes object lifetime more predictable and all libs uses this fact. Emulating this big semantic diferenc

Re: Compilation of other languages

2005-05-14 Thread Rodrigo Kumpera
On 5/14/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > 2. Interpreting other bytecodes with the HarmonyVM - this is quite > possible and might even be done in a performant way. By tweaking your > primordial classloader or having multiple primordial classloaders. > HarmonyVM may already require

Re: JIT vs. WAT

2005-05-13 Thread Rodrigo Kumpera
It would be great to be GCJ compatible. Leveraging they effort with the binary ABI is a smart move and will promote more harmony instead of fragmentation between the java ahead-of-time systems. But this raises a question, can Harmony use GCJ's binary ABI without been GPL? Rodrigo On 5/13/05, Pa

Re: Harmony may provide a more general VM than JVM

2005-05-13 Thread Rodrigo Kumpera
Harmony should be just a JVM. The runtime model between .NET and Java, for example, is diferent enouth to be well harder than perform the bytecode translation. See IKVM, that run java bytecode on top of mono/.net. Rodrigo On 5/13/05, Steve Heath <[EMAIL PROTECTED]> wrote: > won't that all be a

Re: Backward compatibility

2005-05-11 Thread Rodrigo Kumpera
If it´s not 100% API equivalent, then it cannot be called Java. The announcement says that Harmony is about free java. Rodrigo On 5/11/05, Doug Hall <[EMAIL PROTECTED]> wrote: > > On May 11, 2005, at 11:45 AM, Stefano Mazzocchi wrote: > > > Deprecated or non deprecated, we want Harmony to pass

Re: Java

2005-05-11 Thread Rodrigo Kumpera
Are you really curious? Then go to dev.java.net and take a look at the TCK sources. It's distributed in a read-only license. Rodrigo On 5/11/05, FaeLLe <[EMAIL PROTECTED]> wrote: > But im still curious do you think TCK checks if Harmony would have > implementations of the deprecated methods or ca

Re: Java Security for Harmony

2005-05-11 Thread Rodrigo Kumpera
The verifier is part of the the class loading process, it's the first step of linking a class to the runtime. More about that can be found in [1], but the verifier makes sure that a given piece of bytecode won't mess up the stack or incorrectly use types. Rodrigo [1] The Java Virtual Machine Spe

Re: Java

2005-05-10 Thread Rodrigo Kumpera
Not sure, but how many machine code generation software java have? Near-two? JikesRVM and near-to-be-usable SableVM jit? And C/C++? Using tools like llvm, iburgs, vmgen and many more can make a huge diference. Besides that, for a long JikesRVM could not bootstrap from a free JVM, last year someone

Re: GC Compatibility (was: Re: State of the World)

2005-05-09 Thread Rodrigo Kumpera
On 5/9/05, Steven Augart <[EMAIL PROTECTED]> wrote: > > --- Tom Tromey <[EMAIL PROTECTED]> wrote: > > * Fragmentation. I think there are too many free JVMs. > > Amen to that. I hate to say it, since my own favorite VM is one of the > ones keeping that space big. But a "state of the art" optimi