This is the mail archive of the
frysk-bugzilla@sourceware.org
mailing list for the frysk project.
[Bug general/4390] New: CorefileByteBuffer needs to use a lighter weight file access method than RandomAccessFile
- From: "pmuldoon at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: frysk-bugzilla at sourceware dot org
- Date: 18 Apr 2007 00:57:46 -0000
- Subject: [Bug general/4390] New: CorefileByteBuffer needs to use a lighter weight file access method than RandomAccessFile
- Reply-to: sourceware-bugzilla at sourceware dot org
A read from a corefile should be open->read->close. Doing this with
RandomAccessFile would cause many dozens of java objects queued for GC on a lot
of peek() operations. Right now, because of that, CorefileBytebuffer maintains
the RandomAccessFile open for the life of the buffer, consuming one FD for a
long time.
A very light weight object that keeps the file closed, opens it on read, then
closes it again is required, so that fd's and other systems resources can be
cycled back into the pool
--
Summary: CorefileByteBuffer needs to use a lighter weight file
access method than RandomAccessFile
Product: frysk
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: general
AssignedTo: frysk-bugzilla at sourceware dot org
ReportedBy: pmuldoon at redhat dot com
OtherBugsDependingO 4378
nThis:
http://sourceware.org/bugzilla/show_bug.cgi?id=4390
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.