The user should be notified when comparing two heap dumps taken on different architectures as the sizes are not comparable in such case. Not sure if this is also possible for memory snapshots.
More general, it would be nice to warn the user when comparing two heap dumps or memory snapshots with different Object size, which means different architectures, heap structure etc.
Implemented java.lang.Object size checking for comparing heap dumps and memory snapshots. Comparing instrumented allocations snapshots affected by #236363.
Addressed by http://hg.netbeans.org/profiler-main/rev/0ca3bd429837.
Integrated into 'main-silver', will be available in build *201309290002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Jiri Sedlacek <email@example.com>
Log: Implemented #235168 - checking Object size when comparing heap dumps and memory snapshots