Hi All,
I meet something interesting when I try to improve/fix a bug on
javax.sql.rowset.serial.SerialJavaObject, the Spec reads:
(The constructor)
"public SerialJavaObject(Object obj)
throws SerialException
...
Throws:
SerialException - if the object is found to be unseria
Jimmy, it's possible to insert free() automatically in jitted code to
reclaim some short-lived objects. This can be a supplementary to the
GC, and probably improve the overall performance. Tingpeng had
previous discussions with me on this topic actually.
Sorry I don't know the context.
So th
2007/4/29, Tingpeng Wu <[EMAIL PROTECTED]>:
- Original Message -
From: "LvJimmy,Jing" <[EMAIL PROTECTED]>
To:
Sent: Sunday, April 29, 2007 5:24 PM
Subject: Re: problem about System.loadLibrary and object's address
> 2007/4/29, Tingpeng Wu <[EMAIL PROT
2007/4/29, Tingpeng Wu <[EMAIL PROTECTED]>:
Hi, xiaofeng,
1. I also feel very unnatural to call it through MyRuntime class, but I don't
know how to call it directly. Since drlvm needs HotSpot to help it to compile
the java source code, if I don't call it though an instance, the HotSpot
couldn
2007/4/29, 吴廷鹏 <[EMAIL PROTECTED]>:
Hi, all,
when I use drlvm to execute my program, I found that when program has System.loadLibrary call,
there is always an error which reports "java.lang.outofmemoryerror ". The same program can run on Hotspot. Why this happens and how to solve it?
Another qu
Agreed, it is strange that Harmony need correct java.home property to
execute as it is not necessary for RI.
2007/4/29, Tony Wu <[EMAIL PROTECTED]>:
Hi all,
I agree with Gregory that this system is wrong, but I think the root
cause is not in the launcher. If we ignore the java.home passed on cmd
rote:
> Sounds interesting. I've gone through the api difference page and found
> javax.sql.rowset.RowSetMetaDataImpl is missing in Harmony code.
>
> I'd like to implement this class first :-)
>
> LvJimmy,Jing wrote:
> > Hi,
> >
> > I've noticed that AP
Hi,
I've noticed that APIs of javax.sql.rowset and
javax.sql.rowset.serial are still missing. Currently, the results of
API comparison[1] show that javax.sql.rowset is missing one class, and
javax.sql.rowset.serial has 22 bad methods, missing 59 methods and 6
constructors. And I guess there'
Sounds great :D
Yes, I guess in many field Harmony works quiet well ( IIRC, we harmony
people already do some micro benchmark and get happy result, right?)
2007/4/20, Andrew Zhang <[EMAIL PROTECTED]>:
Hey guys,
I wrote a small performance benchmark for testing List.add(int index, Object
element
2007/4/19, Leo Li <[EMAIL PROTECTED]>:
Hi, Andrew:
Actually, the Support_PortManager works as you suggest.:)
But shall we wait a little before starting test, due to the
half-close mechanism of TCP. That is three times of RTTI or something... I
do not remember clearly.
Yes, un-f
2007/4/18, Alexey Petrenko <[EMAIL PROTECTED]>:
2007/4/18, Tony Wu <[EMAIL PROTECTED]>:
> Thanks Stepan and all the people who helped to boost, now we have a
> branch for java 6 classlib.
>
> Before we start to complete the new feature, I think we should have an
> agreement addition to Good issue
Sounds great :)
2007/4/18, Tony Wu <[EMAIL PROTECTED]>:
Thanks Stepan and all the people who helped to boost, now we have a
branch for java 6 classlib.
Before we start to complete the new feature, I think we should have an
agreement addition to Good issue resolution guideline[1].
I just draft
2007/4/19, Andrew Zhang <[EMAIL PROTECTED]>:
On 4/19/07, Ruth Cao <[EMAIL PROTECTED]> wrote:
>
> Tim Ellison wrote:
> > Ruth Cao wrote:
> >
> >> You are right, Vladimir.
> >>
> >> It is just because the 'port' variable is set to 8080 and on some
> >> machines this port has already been occupied.
2007/4/19, Andrew Zhang <[EMAIL PROTECTED]>:
On 4/19/07, Leo Li <[EMAIL PROTECTED]> wrote:
>
> Personally I prefer Support_PortManager. As a tool, it can rescue us from
> choosing specific port to use. Despite of its defect, I believe it is
> possible to innovate it to fullfill our demand. From m
In this case, I guess the rarely used port may be suitable, though it
is not perfect and may cause failure (in very little possibility?) Or
let's make the test as a special test, as exclude test, or manual
test?
I suggest we should never use Support_PortManager any more.
2007/4/19, Ruth Cao <[EM
Thanks Alexey, the test passed, so I'd like to upload the patch then :)
2007/4/17, Alexey Varlamov <[EMAIL PROTECTED]>:
Does the built DRLVM ever works - e.g. HWA passes?
BTW, there is a regression test which can be run easy:
build.bat -Dtest.case=H3591 reg.test
2007/4/17, LvJimmy,J
This method is good, but not perfect, for
1. getNextPortsForUDP get a free port by a mechanism "get and
release", but release the port may not be successful (e.g, in linux)
2. even it releases successfully, during the period between utility
method "release" and serversocket reuse it, there may be
An old problem that we already noticed, I guess still there's a lot of
tests using getNextPort().
+1 for using port 0
2007/4/18, Nathan Beyer <[EMAIL PROTECTED]>:
For the slow (and lazy), can you point me to one of the tests that
just uses port 0.
Thanks.
-Nathan
On 4/17/07, Tim Ellison <[EMA
, Alexey Varlamov <[EMAIL PROTECTED]>:
Please go ahead.
2007/4/13, LvJimmy,Jing <[EMAIL PROTECTED]>:
> That's for sure :)
> My plan was:
> 1. create those DirectBufferAdapters
> 2. in the BaseByteBuffer, return the wrapped DirectBufferAdapters if and only
> if the B
I guess. But to modify the file works for me
> anyway.)
>
> For classlib location, there is a file
> working_vm\build\drlvm.properties.example for it. You can modify it to
> point the classlib location to the right directory and copy it to
> drlvm.properties (to be functional).
>
&g
asslib location to the right directory and copy it to
drlvm.properties (to be functional).
Hope this helps.
Thanks.
xiaofeng
On 4/16/07, LvJimmy,Jing <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm trying to download DRLVM and build it on my desktop (windows
> xp sp2, try
Hi,
I'm trying to download DRLVM and build it on my desktop (windows
xp sp2, try for regression test of the refactor for HARMONY-3591 as
we discussed on an earlier thread), but I meet some problem:
When I first download DRLVM trunk from svn, and enter "build.bat",
it ask for "../../working
st to
make sure it works.
Does it make sense? Thanks :)
2007/4/13, Mikhail Fursov <[EMAIL PROTECTED]>:
Jimmy,
Will the initial test work with your solution?
On 4/13/07, LvJimmy,Jing <[EMAIL PROTECTED]> wrote:
>
> Hi,
>I've just read the patch for this JIRA, I f
Hi,
I've just read the patch for this JIRA, I find it workable, but may
need some enhancement for:
1. IntToByteBufferAdapter (and all related adapters) may not be
DirectBuffer, let it implement DirectBuffer does not make sense.
2. all DirectBuffer methods implemented in these classes, e.g,
g
+1 :)
2007/4/12, Stepan Mishura <[EMAIL PROTECTED]>:
+1
-Stepan.
On 4/12/07, Stepan Mishura wrote:
> The subject was discussed a lot in threads:
> - [OT] JFYI: Dave Gilbert (jfree.org) on Apache Harmony
> - [classlib]proposal: java6 kick off!
>
> I think that it is better to make it a clear vo
Offset (long).
So i suggest delete them together, if no one objects.
2007/4/5, Leo Li <[EMAIL PROTECTED]>:
> +1
> Delete them if they are dead code.:)
>
>
> On 4/4/07, LvJimmy,Jing <[EMAIL PROTECTED]> wrote:
> >
> > I find another un-used method, Channels.wr
Happy Birthday Tim!
Do we have any gift for him? :P
2007/4/9, Geir Magnusson Jr. <[EMAIL PROTECTED]>:
I figured this will annoy him to no end, but hey, today is his
birthday :)
Happy Birthday Tim!
geir
--
Best Regards!
Jimmy, Jing Lv
China Software Development Lab, IBM
The article on the blog reads full of jealousy to me :P
2007/4/9, Leo Li <[EMAIL PROTECTED]>:
In my opinion, it is the time for us to catch up with Java 6 in order to
attract our potential customers.
As for branching, almost each apache project maintains branches and they all
live well.:)
And
;ve raised JIRA-3572 for these issue.
2007/4/4, Ruth Cao <[EMAIL PROTECTED]>:
I've also found there is a redundant constructor in
java.io.OptionalDataException: OptionalDataException(String). It seems
that we can eliminate these methods together :-)
LvJimmy,Jing wrote:
> Hi All
Hi All,
I happen to meet a package private method of DatagramSocket(and
its child class MulticastSocket), named isMulticastSocket. I search in
the luni package but find no line refers to this method. And a simple
search in native code shows no native code refers to this method by
reflection.
o select the JRE to use from the GUI so that you can run
directly from the workbench. The launch configurations have been undergoing
some updates recently and I don't see the dialog at the moment.
Regards,
Chris Elford
Intel SSG/Enterprise Solutions Software Division
-Original
e.org/tptp/platform/documents/tutorials/jvmti/Java_Application_Profiling_using_TPTP-r4-3.html
On 3/30/07, LvJimmy,Jing <[EMAIL PROTECTED]> wrote:
> 2007/3/30, LvJimmy,Jing <[EMAIL PROTECTED]>:
> > Hi All,
> > Harmony has reach 95% API coverage, IMHO it may be a good time to
> >
2007/3/30, LvJimmy,Jing <[EMAIL PROTECTED]>:
Hi All,
Harmony has reach 95% API coverage, IMHO it may be a good time to
start performance profiler/tuning. If so, I'd like to do some
performance profiler on Harmony Classlib from now on ;)
In order to look for performance bot
Hi All,
Harmony has reach 95% API coverage, IMHO it may be a good time to
start performance profiler/tuning. If so, I'd like to do some
performance profiler on Harmony Classlib from now on ;)
In order to look for performance bottleneck, we need some profiler
tools. I've looked for some prof
Though a bit late, Congratulations! :)
2007/2/19, Geir Magnusson Jr. <[EMAIL PROTECTED]>:
Please join the Apache Harmony PMC in welcoming the project's newest
committer, Xiao-Feng Li.
Xiao-Feng has shown sustained dedication to the project, especially
in the area GC and other VM issues, an abil
Congratulations!
2007/2/19, Geir Magnusson Jr. <[EMAIL PROTECTED]>:
The Apache Harmony PMC is happy to announce that the following
committers have been added to the Harmony PMC :
Oliver Deakin
Nadya Morozova
Congratulations, and thanks for the good work!
The Apache Harmony PMC
--
Best
Though a bit late, congratulations! :)
2007/2/19, Mark Hindess <[EMAIL PROTECTED]>:
Congratulations!
-Mark
On 17 February 2007 at 13:47, "Geir Magnusson Jr." <[EMAIL PROTECTED]> wrote:
> The Apache Harmony PMC is happy to announce that the following
> committers have been added to the Harmony
Cool ! :)
zLinux31may be hard work to do. And I think classlib native may also
meet some problem on 31bit calculation, so please share experience
during the zLinux31 porting :)
2007/2/8, Oliver Deakin <[EMAIL PROTECTED]>:
Hi all,
Just a heads up on some of the work that Mark and I have been doi
2007/2/9, Andrew Zhang <[EMAIL PROTECTED]>:
Hi, Sorry for my late reply. Unfortunately, my disk got broken so that my
working on Harmony is stopped. I hope I'll resume developing soon.
;)
Ruth, Thanks for your patch! There're two ways to solve this problem:
1. Using a boolean to mark whether
Hi All,
I open a new thread for this topic as I'd like to take action for
this. As RI behaves different from Harmony (it never throw that
memory-out-error), it should be a bug of Harmony and we should fix it,
so I open a JIRA, HARMONY-3148 to record this bug and action on it.
Up to now, I se
2007/2/2, Xiao-Feng Li <[EMAIL PROTECTED]>:
Thank you, Jimmy and Leo, for the clear explanations.
I think temporarily you can put the System.gc() there to workaround
this issue. Yes, this is only a workaround since we cannot rely on it
without explicit guarantee in its semantics.
To really solv
2007/2/3, Ivan Volosyuk <[EMAIL PROTECTED]>:
Let me summarize:
Sometimes we have small java heap objects which relates to much bigger
native memory chunks. In some cases this memory may exceed limits and
VM will crash. Calling GC from the other side will make this memory
free. There are quite a
2007/2/2, Xiao-Feng Li <[EMAIL PROTECTED]>:
Leo, I can't fully understand your problem and proposal. I am working
in DRLVM GC component, I want to understand how GC can tackle the
issue you meet.
You said the native memory is allocated (probably with malloc) for
byte buffer. I wonder how the pro
2007/2/2, Leo Li <[EMAIL PROTECTED]>:
Hi, all:
After applying patch3073, I added the support for direct byte buffer in
nio module as spec requires. But now here exists a problem: The native
memory allocated to the byte buffer can be released when gc releases the
byte buffer object, however, i
ng id caching and avoiding calling reflection each time is
> able to improve our performance, which will become one of the focuses
> for our customers.
>Besides, "Harmony" or "hy" are both good substitutes for"jcl".
>And I am willing to work with
Besides, "Harmony" or "hy" are both good substitutes for"jcl".
>And I am willing to work with you on the issue.
>
> Good luck!
> Leo.
>
> On 1/23/07, LvJimmy,Jing <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > Loo
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
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
Sounds perfect :D
2007/1/22, Geir Magnusson Jr. <[EMAIL PROTECTED]>:
On Jan 19, 2007, at 8:22 PM, Yu Zhang wrote:
> I'm from USTC in Hefei, Anhui. It is hard to get together in one
> city in the near future.
One solution for this would be to have a kickoff meeting somewhere
you all agree on,
+1
2007/1/5, Geir Magnusson Jr. <[EMAIL PROTECTED]>:
We now have all requisite paperwork (CCLA, BCC, ACQs) in place for
http://issues.apache.org/jira/browse/HARMONY-1407, so lets vote to
accept :
[ ] +1 Accept this contribution
[ ] -1 Reject because...
As usual, 3 days unless someone complains
Everyone, happy and harmony new year! ;)
--
Best Regards!
Jimmy, Jing Lv
China Software Development Lab, IBM
Hi,
Can someone tell me which tests fails,and the detail runtime
environment? I run HttpURLConnectionTest on winxp/IBMVME and
ubunto/IBMVME serveral times and find no failure.
Do the failures happens only recently?
2006/12/13, Vladimir Ivanov <[EMAIL PROTECTED]>:
On 12/13/06, Tim Ellison
52 matches
Mail list logo