From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2691 invoked by alias); 18 Apr 2007 00:57:59 -0000 Received: (qmail 1132 invoked by uid 48); 18 Apr 2007 00:57:46 -0000 Date: Wed, 18 Apr 2007 00:57:00 -0000 From: "pmuldoon at redhat dot com" To: frysk-bugzilla@sourceware.org Message-ID: <20070418015746.4390.pmuldoon@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug general/4390] New: CorefileByteBuffer needs to use a lighter weight file access method than RandomAccessFile X-Bugzilla-Reason: AssignedTo Mailing-List: contact frysk-bugzilla-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: frysk-bugzilla-owner@sourceware.org X-SW-Source: 2007-q2/txt/msg00123.txt.bz2 List-Id: 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.