RFR(S): 8020151: PSR:PERF Large performance regressions when code cache is filled

John Rose john.r.rose at oracle.com
Fri Sep 13 16:10:11 PDT 2013


On Sep 13, 2013, at 3:00 PM, Vladimir Kozlov <vladimir.kozlov at oracle.com> wrote:

> Nice comment about nmethod removal!

I second that.  A well-written design comment adds big value to the code base, especially when it could require hours or days to figure out the design just by inspecting the code.

— John

P.S. Some really smart people make it a point of pride not to comment their work:

> Gauss' writing style was terse, polished, and devoid of motivation. Abel said, `He is like the fox, who effaces his tracks in the sand with his tail'. Gauss, in defense of his style, said, `no self-respecting architect leaves the scaffolding in place after completing the building'. 


http://users.wfu.edu/kuz/Stamps/Gauss/Gauss.html

We've all worked with folks like that, probably not quite as talented as Gauss...  Either be Gauss or comment your code!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20130913/61b9e1e1/attachment-0001.html 


More information about the hotspot-compiler-dev mailing list