But from the bug it follows that SUN result depends on long-to-int
convertion.
So you never know if result if positive (OK) or negative (Exception).
I vote just to do it right and to ignore buggy RI behaviour in this case.
On 7/28/06, Jimmy, Jing Lv [EMAIL PROTECTED] wrote:
Hi,
Thanks,
On 7/28/06, Miguel Montes wrote:
So, it seems there is consensus on the following steps:
1) We ask Sun again about the bdtd specs
2) We do NOT reverse engineer the bdtd
3) We choose a format, and document it.
It also seems that serialization is not the proper way of doing 3), so we
must select
-Original Message-
From: Miguel Montes [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 27, 2006 11:58 PM
To: harmony-dev@incubator.apache.org
Subject: Re: [classlib][html] Should we try to be binary compatible
with
Sun's bdtd?
So, it seems there is consensus on the following steps:
1) We
-Original Message-
From: Igor Stolyarov [mailto:[EMAIL PROTECTED]
Sent: Friday, July 28, 2006 9:25 AM
To: harmony-dev@incubator.apache.org
Subject: Re: AWT 2D PERFORMANCE ISSUE
I'm sorry. May be I don't clear explained my question. Main target of
my
question was discussion of
On 7/28/06, Ivanov, Alexey A wrote:
-Original Message-
From: Miguel Montes [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 27, 2006 11:58 PM
To: harmony-dev@incubator.apache.org
Subject: Re: [classlib][html] Should we try to be binary compatible
with
Sun's bdtd?
So, it seems there is
I think using WeakReference and ReferenceQueue can't help because according
to RI I have to give customer array
On 7/28/06, Ivanov, Alexey A [EMAIL PROTECTED] wrote:
-Original Message-
From: Igor Stolyarov [mailto:[EMAIL PROTECTED]
Sent: Friday, July 28, 2006 9:25 AM
To:
Weldon,
Weldon Washburn wrote:
The following is printing a zero instead of 0x
Address mm = Address.max();
System.out.println(Address.max() = +
Integer.toHexString(mm.toInt()) );
I changed the max() implementation according to recent
email thread, where it was stated as
2006/7/27, Denis Kishenko [EMAIL PROTECTED]:
2006/7/27, Nathan Beyer [EMAIL PROTECTED]:
The serialized form is part of the public contract and we strive to meet all
parts of the public contract, so if you know of specific cases, please log
some issues about them. There are a few exceptional
2006/7/27, Denis Kishenko [EMAIL PROTECTED]:
2006/7/26, Alex Blewitt [EMAIL PROTECTED]:
There are other approaches that could be used instead of this. For
example, the value of the hashCode could be cached in a private
variable and then invalidated when any setValue() methods are called.
One
It was to strong when called this is as problem. Actually our and RI
implementation of Polygon can produce different serialization
binaries sometimes, in spite of this binaries can be read by both
implementations. So serialization compatibility should be correct.
2006/7/28, Alexey Petrenko
28 Jul 2006 16:03:33 +0700, Egor Pasko [EMAIL PROTECTED]:
On the 0x1B3 day of Apache Harmony Anton Luht wrote:
On 7/27/06, Ilya Okomin [EMAIL PROTECTED] wrote:
Sounds great to have a page with algorithms tricks used in Harmony project!
Maybe it's worth to put information about algorithms to
Andrew Zhang wrote:
On 7/27/06, Tim Ellison [EMAIL PROTECTED] wrote:
Ilya Okomin wrote:
On 7/27/06, Tim Ellison [EMAIL PROTECTED] wrote:
The other reason we will need some manual intervention is that
there is
plenty of code that throws exceptions without any message describing
the
On the 0x1B3 day of Apache Harmony [EMAIL PROTECTED] wrote:
I rerun it, and it keeps running, however no result comes out.
or I upload the jar file in two packages.
OK, we can investigate the problem directly on your machine.
There are some basic steps I do as soon as I see some problem :)
I rerun the application with option -Xint
and unlucily, it doesn`t pass, keep running and nothing comes out.
The same with other options except with option -Xem opt.
with option -Xem opt, many SIGSEGV in VM code. are printed.
28 Jul 2006 17:05:44 +0700, Egor Pasko [EMAIL PROTECTED]:
On
2006/7/28, Alexey Petrenko [EMAIL PROTECTED]:
2006/7/27, Denis Kishenko [EMAIL PROTECTED]:
Unfortunately
1. class can has temporary private fields (see BasicStroke.java)
We can mark such fields as transient. As for serialization.
2. class can has final fields which take part in hash code
-Original Message-
From: Igor Stolyarov [mailto:[EMAIL PROTECTED]
Sent: Friday, July 28, 2006 1:04 PM
To: harmony-dev@incubator.apache.org
Subject: Re: AWT 2D PERFORMANCE ISSUE
I think using WeakReference and ReferenceQueue can't help because
according
to RI I have to give customer array
Thank you! I'll learn this topic in detail.
Regards,
Igor
On 7/28/06, Ivanov, Alexey A [EMAIL PROTECTED] wrote:
-Original Message-
From: Igor Stolyarov [mailto:[EMAIL PROTECTED]
Sent: Friday, July 28, 2006 1:04 PM
To: harmony-dev@incubator.apache.org
Subject: Re: AWT 2D PERFORMANCE
Gregory,
Thanks for the pointing at this option - maybe it's worth to publish
undocumented properties and other switches, for example, in Wiki?
With this option VM printed before death:
Windows reported exception: ACCESS_VIOLATION
Registers:
EAX: 0x, EBX: 0x, ECX:
On 28 Jul 2006 15:35:42 +0700, Egor Pasko [EMAIL PROTECTED] wrote:
On the 0x1B2 day of Apache Harmony Weldon Washburn wrote:
Stack Overflow Exception handling needs to be good enough for
commercial workloads. This might be less than required for absolute
correctness. The approach I would
On 7/28/06, Stepan Mishura [EMAIL PROTECTED] wrote:
On 7/28/06, Miguel Montes wrote:
So, it seems there is consensus on the following steps:
1) We ask Sun again about the bdtd specs
2) We do NOT reverse engineer the bdtd
3) We choose a format, and document it.
It also seems that
Hi Zou,
I asked you to clarify what do your files for the H-992 issue mean?
Could you please answer me?
Thanks,
Vladimir.
On 7/28/06, zouqiong [EMAIL PROTECTED] wrote:
I rerun the application with option -Xint
and unlucily, it doesn`t pass, keep running and nothing comes out.
The same
On 7/26/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:
...
Who would want to use HDK and not run tests? I would assume you'd want
to run tests of other modules that depend on the thing you are working on.
geir
I use SUN and BEA JDK's and both were without tests (but with demo's). I
On 7/26/06, Geir Magnusson Jr [EMAIL PROTECTED] wrote:
We already have a script for building the HDK and JRE. The publishing
part should be fairly straightforward. I imagine we'll have volunteers
that produce the designated nightly snapshots for a given platform so we
can get the widest
Hi,
I have created this new thread as a single place for discussions
started in Re: [testing] Peace and [classlib] Testing conventions –
a proposal threads.
What did we have in the previous threads?
* Test classification proposed by Vladimir
* Test classification and group names proposed by
On the 0x1B4 day of Apache Harmony [EMAIL PROTECTED] wrote:
I rerun the application with option -Xint
and unlucily, it doesn`t pass, keep running and nothing comes out.
OK, you mean, the problem persists .. eh..
The same with other options except with option -Xem opt.
OK, let's try to
On 7/27/06, Tim Ellison [EMAIL PROTECTED] wrote:
Ilya Okomin wrote:
I share your point of view about Exceptions without description, it
isn't user friendly. But I think it will be another sort of 'manual'
scan :) There is a need to waste time to analyze surrounding code to
provide
Hi,
I have been looking to the string interning code in DRLVM recently.
The reason I have started to do this is that the following stress
test quickly causes OOM (OutOfMemoryError) on DRLVM:
public class StressIntern {
public static void main(String[] args) {
String s = abc;
oops, forgot to include patches.
Salikh Zakirov wrote:
Hi,
I have been looking to the string interning code in DRLVM recently.
The reason I have started to do this is that the following stress
test quickly causes OOM (OutOfMemoryError) on DRLVM:
...
From
Hello,
I know why this thread is so lazy - it's because everybody dislikes QA
testing :)
OK, now let me add my $0.02 about my vision about reporting of test
results. I believe it's better to do this using HTTP rather than mail
because some people may not have access to SMTP port (for example,
Salikh Zakirov wrote:
Subject: [PATCH] Pure java string intern()
I have just been privately asked by a fellow colleague
what the interning is used for.
So I figured it would be nice to describe the answer on the list
too, especially because I am interested in learning something new
on the
Salikh,
I wonder why such an elegant solution haven't been made before?
The benefit of String.intern I know:
1) Fast comparison (May be we can speedup some internal algorithms like
reflection this way?)
2) Low memory consumption if there are a lot of duplicates
The overhead:
1) AFAIK every
On 28 Jul 2006 15:35:42 +0700, Egor Pasko [EMAIL PROTECTED] wrote:
It reminds me of one usecase, when a 'maybe-commercial' server running
a JVM accepts deployments of JAR files and cannot predict what users
deploy. So, not-to-crash on SOE is a matter of security for the
server. And this is
The question I'd like to raise now is – aren't we ready for TestNG
right now? For example, we could replace our harness from jUnit to
TestNG and lazily start converting of some failing and platform
dependent tests to javadoc version of TestNG.
Thought? Suggestions? Opposite opinions?
I think
There's a heck of a lot wrong with intern().
1) People claim inefficiencies, without actually measuring them (see
other points I've made about permature optimisation)
2) The claim that performing an intern() reduces comparisons (because
you just do a pointer compare) is, in most cases,
Alex Blewitt wrote:
There's a heck of a lot wrong with intern()
I agree with all of your points. Indeed, it makes little sense
doing a == b.intern() instead of a.equals(b).
My original observation was that interning makes perfect sense
for localized log messages, because the code like
On 7/29/06, Salikh Zakirov [EMAIL PROTECTED] wrote:
which is slowdown of about 1.5%.
I will try to write a custom code instead of using WeakHashMap to reduce
hash calculation.
How about to make WeakHashMap (new empty subclass) final?
IMHO another one separate impl of HashMap could be a bad
On 28/07/06, Salikh Zakirov [EMAIL PROTECTED] wrote:
Alex Blewitt wrote:
There's a heck of a lot wrong with intern()
My original observation was that interning makes perfect sense
for localized log messages, because the code like
println(MessageBundle.get(how are you?));
Yes, but I
Hi,
On 7/29/06, Alex Blewitt [EMAIL PROTECTED] wrote:
On 28/07/06, Salikh Zakirov [EMAIL PROTECTED] wrote:
Alex Blewitt wrote:
Importantly, it explains why the Eclipse NLS class uses static string
variables to refer to messages, and not to String literals for exactly
this reason. If you use a
-Original Message-
From: Robert Lougher [mailto:[EMAIL PROTECTED]
Sent: Friday, July 28, 2006 7:40 PM
To: harmony-dev@incubator.apache.org
Subject: Re: Re: [drlvm] string interning in java
Hi,
On 7/29/06, Alex Blewitt [EMAIL PROTECTED] wrote:
On 28/07/06, Salikh Zakirov
39 matches
Mail list logo