Ticket #484 (closed task: fixed)

Opened 10 years ago

Last modified 10 years ago

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:


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 10 years ago by melissa

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

See r6093 and r6100.

comment:2 Changed 10 years ago by melissa

  • Milestone bio-formats-4.2 deleted

Milestone bio-formats-4.2 deleted

comment:3 Changed 10 years ago by melissa

  • Milestone set to bio-formats-4.2
Note: See TracTickets for help on using tickets.