Performance regression in java.util.zip.Deflater
linuxhippy at gmail.com
Fri Dec 21 01:02:52 UTC 2007
> jdk/test/java/util/zip/FlaterTest.java can be used to compare different JVMs;
> I'm sorry but I don't think we have a better test. See also the code in
> 6364346 and/or 6507183.
Sorry if that sounds a bit dumb, how can I access
I rewrote the native method a bit (because I thought it was messy), so
I am afraid I destoyed some cases - are there also correctness
> I don't see a block in the ArrayRegion functions (a little surprisingly):
> (Search for just "arrayregion"). Compare the array region function body with
> the primitivearraycritical function body; the latter obviously interacts with GC.
I am no expert, but doesn't each jni-function block the jvm, like a
synchronized modifier in java? I thought for this are
I can be wrong of course, its just a guess.
> I'm no expert here! See 6186200's discussion of GC & critical sections.
Thanks a lot, very interesting :)
Btw. No need to stress or hurry, its just a "holiday-fun-bugfix"
More information about the core-libs-dev