NOTICE! This is a static HTML version of a legacy LOCI Software ticket.

LOCI projects are now located on GitHub. The Bio-Formats project can be found here.

Ticket #484 (closed task: fixed)

Opened 2010-03-23T15:58:44-05:00

Last modified 2010-07-13T16:58:25-05:00

Investigate usage of FileChannel.map(...)

Reported by: melissa Owned by: melissa
Priority: major Milestone: bio-formats-4.2
Component: bio-formats Severity: serious
Keywords: Cc:
Blocked By: Blocking:

Description

Prior to r6060, NIOFileHandle used the 'map' method in FileChannel to read bytes from a file. However, this was replaced with calls to the 'read' method because of the following Java bugs:

 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5092131  http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6417205

Unfortunately, this means that NIOFileHandle is considerably slower. We should investigate a way of efficiently using 'map' while avoiding the above bugs.

Change History

comment:1 Changed 2010-04-12T10:31:06-05:00 by melissa

  • Status changed from new to closed
  • Resolution set to fixed

See r6093 and r6100.

comment:2 Changed 2010-07-09T12:55:02-05:00 by melissa

  • Milestone bio-formats-4.2 deleted

Milestone bio-formats-4.2 deleted

comment:3 Changed 2010-07-13T16:58:25-05:00 by melissa

  • Milestone set to bio-formats-4.2