JDK-5096281 : HPROF: Version number in binary output needs doc and change
  • Type: Enhancement
  • Component: tools
  • Sub-Component: hprof
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • OS: generic
  • CPU: generic
  • Submitted: 2004-09-02
  • Updated: 2005-03-11
  • Resolved: 2005-03-11
Related Reports
Relates :  
Description
File format version is 1.0.1, probably needs to be updated.

> 
> Second, I noticed that the version in the file is still
> "1.0.1", which is the version as of JDK 1.2 beta 4.  This
> isn't a bug, just an observation, though I'm pretty sure
> that in JDK 1.2 the pointer was to the element type.  If
> we bumped up the version number, I could distinguish that;
> this might help some with backwards compatibility with
> older JDKs (though I don't really plan to test it!).

May hing on any changes to the format, i.e. bug 5096280

Comments
EVALUATION I think we want to leave this alone. I've run into too many testcases that seem to be looking for this 1.0.1 and can only assume we have user/customer code looking for 1.0.1 too. Granted this is a poor reason to fix it, but this may be best left alone for now. I'd rather look into a newer binary format, close to the hprof binary format, and fix this issue there, documenting the version number field and what it means etc. Really document the format. This has been discussed in some meetings. ###@###.### 2005-03-11 19:49:05 GMT
11-03-2005