This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 162803 - Opening very large heap dump is unnecessary slow
Summary: Opening very large heap dump is unnecessary slow
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Hurka
URL:
Keywords: VISUALVM
Depends on:
Blocks:
 
Reported: 2009-04-16 10:45 UTC by Tomas Hurka
Modified: 2009-05-22 14:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2009-04-16 10:45:37 UTC
Opening the heap dump with more than 48,800,000 instances is unnecessary slow on 64bit JVM. 64bit JVM can map LongMap into memory. Current 
implementation fall back to file access if the backing file for LongMap is bigger than Integer.MAX_VALUE.
Comment 1 Tomas Hurka 2009-04-16 10:50:10 UTC
Fixed in profiler-main

changeset:   126982:0d92ccb3daa3
user:        Tomas Hurka <thurka@netbeans.org>
date:        Thu Apr 16 11:48:40 2009 +0200
summary:     bugfix #162803, try to use memory-mapped file even if file size is bigger than Integer.MAX_VALUE

Comment 2 Quality Engineering 2009-04-17 19:54:09 UTC
Integrated into 'main-golden', will be available in build *200904171401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0d92ccb3daa3
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #162803, try to use memory-mapped file even if file size is bigger than Integer.MAX_VALUE