Any major performance change with I/O from JDK 6 that one should be aware of?
Fabrizio Giudici
Fabrizio.Giudici at tidalwave.it
Sun May 13 14:02:14 PDT 2012
On Sun, 13 May 2012 22:24:04 +0200, Alan Bateman <Alan.Bateman at oracle.com>
wrote:
> The load method working by touching each page to bring it into memory.
> The only difference in this regard between jdk6 and 7 is that it was
> done in native code in jdk6 whereas it's in Java code in jdk7 (the
> reason for this was to be able to recover with mapped files that get
> truncated). Performance-wise it shouldn't make a difference and most of
> the time should be paging in the file. From your figures above it would
> appear that it's not touching all pages but it requires digging into the
> details to track this down (plus I would point out that we have no idea
> if anything was changed in this area in Apple's JDK6). In any case, can
> you submit a bug on this?
Sure. I'm preparing a minimal test case.
--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
fabrizio.giudici at tidalwave.it
http://tidalwave.it - http://fabriziogiudici.it
More information about the macosx-port-dev
mailing list