Skip to content

Changes

Summary

  1. Bug 582813 Fix Contention when performing IO on slower devices (eg NFS) (details)
Commit b110b0ddb1ce6bcb9ab99c4e67ff2bf5d0146470 by Jason Koch
Bug 582813 Fix Contention when performing IO on slower devices (eg NFS)

Introduce a readDirect call to the SimpleBufferedRandomAccessInputStream
that allows caller to provide position and length. Use it from the
LongIndexReader and IntIndexReader getPage calls to perform consistent
reads of page data. Move said read logic outside the lock so that
multiple IO reads can be serviced concurrently.

Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=582813
Change-Id: Ia1b3fe83e4f6123045c971d205a8ab0b6db623c7
The file was modified plugins/org.eclipse.mat.parser/src/org/eclipse/mat/parser/io/SimpleBufferedRandomAccessInputStream.java
The file was modified plugins/org.eclipse.mat.parser/src/org/eclipse/mat/parser/internal/Messages.java
The file was modified plugins/org.eclipse.mat.parser/src/org/eclipse/mat/parser/index/IndexReader.java
The file was modified plugins/org.eclipse.mat.parser/src/org/eclipse/mat/parser/internal/messages.properties