VisibleMemberMap.java possible performance improvements

Jonathan Gibbons jonathan.gibbons at oracle.com
Thu Sep 19 13:59:41 PDT 2013


On 09/19/2013 10:46 AM, Jonathan Gibbons wrote:
>
>
> -- does the change affect the generated docs.

... and the answer is "yes". :-)

The order of some parts of the generated docs differs before/after the 
patch. This is an issue which needs to be fixed.

At first, I thought it was due to the use of HashMap (which is a common 
source of inconsistent ordering) but I see the old code uses HashMap too 
-- and I've not seen ordering problems before.

Having looked at a few more files, I think that the problem is just in 
lists of inherited items, and specifically the order in which you create 
the lists in the new code may be the reverse of the order in which they 
were created before.

-- Jon




More information about the javadoc-dev mailing list