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

Summary: Opening very large heap dump is unnecessary slow
Product: profiler Reporter: Tomas Hurka <thurka>
Component: BaseAssignee: Tomas Hurka <thurka>
Status: RESOLVED FIXED    
Severity: blocker Keywords: VISUALVM
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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