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 120324 - Opening large heap dump is slow
Summary: Opening large heap dump is slow
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All Linux
: P2 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-29 11:14 UTC by Tomas Hurka
Modified: 2007-10-29 14:51 UTC (History)
1 user (show)

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 2007-10-29 11:14:24 UTC
Opening large heap dump is much slower on Linux than on other systems. This was tested on heap dump with 19M instances.
Gregg wrote: "I tried letting it run for several hours and it still did not open (I am using JDK6u2 on Ubuntu 7.04)."
Comment 1 Tomas Hurka 2007-10-29 11:15:55 UTC
Opening same heap dump on MacBook Pro took about 4 minutes.
Comment 2 Tomas Hurka 2007-10-29 14:51:14 UTC
Several improvements were implemented to speedup opening of heap dump. With those improvements we were able to open
above mentioned heap dump in 17 minutes on the same Linux machine.
 
Checking in src/org/netbeans/lib/profiler/heap/ClassDumpSegment.java;
/cvs/profiler/libs/jfluid/src/org/netbeans/lib/profiler/heap/ClassDumpSegment.java,v  <--  ClassDumpSegment.java
new revision: 1.2; previous revision: 1.1
done
Checking in src/org/netbeans/lib/profiler/heap/HprofHeap.java;
/cvs/profiler/libs/jfluid/src/org/netbeans/lib/profiler/heap/HprofHeap.java,v  <--  HprofHeap.java
new revision: 1.2; previous revision: 1.1
done
Checking in LongMap.java;
/cvs/profiler/libs/jfluid/src/org/netbeans/lib/profiler/heap/LongMap.java,v  <--  LongMap.java
new revision: 1.2; previous revision: 1.1
doneChecking in org/netbeans/lib/profiler/heap/LongMap.java;
/cvs/profiler/libs/jfluid/src/org/netbeans/lib/profiler/heap/LongMap.java,v  <--  LongMap.java
new revision: 1.3; previous revision: 1.2
done
Checking in org/netbeans/lib/profiler/heap/LongMap.java;
/cvs/profiler/libs/jfluid/src/org/netbeans/lib/profiler/heap/LongMap.java,v  <--  LongMap.java
new revision: 1.3; previous revision: 1.2
done
Checking in HprofByteBuffer.java;
/cvs/profiler/libs/jfluid/src/org/netbeans/lib/profiler/heap/HprofByteBuffer.java,v  <--  HprofByteBuffer.java
new revision: 1.2; previous revision: 1.1
done
Checking in HprofHeap.java;
/cvs/profiler/libs/jfluid/src/org/netbeans/lib/profiler/heap/HprofHeap.java,v  <--  HprofHeap.java
new revision: 1.3; previous revision: 1.2
done
Checking in LongMap.java;
/cvs/profiler/libs/jfluid/src/org/netbeans/lib/profiler/heap/LongMap.java,v  <--  LongMap.java
new revision: 1.4; previous revision: 1.3
done