review (M) for 6892658: C2 should optimize some stringbuilder patterns

Christian Thalinger Christian.Thalinger at Sun.COM
Tue Nov 10 11:42:27 PST 2009


On Mon, 2009-11-09 at 15:46 -0800, Tom Rodriguez wrote:
> http://cr.openjdk.java.net/~never/6892658/

src/share/vm/memory/universe.hpp:

+   static oop          _the_MIN_VALUE_string;          // A cache of "" as a Java string

The min-value is missing in the comment.


src/share/vm/opto/callGenerator.cpp:

void WarmCallInfo::make_hot() {

Why is this method now Unimplemented()?


src/share/vm/opto/callnode.cpp:

+   // The resproj may not exist because the result couuld be ignored
+   // and the exception object may not be exist if an exception handler

Typo.


src/share/vm/opto/compile.cpp:

+         // Separate projections were use for the exception path which

"were used"?


src/share/vm/opto/phase.hpp:

      LIVE,                       // Dragon-book LIVE range problem
+     StringOpts,
      Interference_Graph,         // Building the IFG

A comment would be nice.


src/share/vm/utilities/growableArray.hpp:

+   /* inserts the given element before the element at index i */                       

A C comment?

I will look at src/share/vm/opto/stringopts.cpp tomorrow.

-- Christian



More information about the hotspot-compiler-dev mailing list