Review Request: Zero and Shark fixes

Christian Thalinger christian.thalinger at oracle.com
Tue Nov 23 01:50:43 PST 2010


On Nov 22, 2010, at 2:12 PM, Gary Benson wrote:
> Hi all,
>
> This webrev contains a couple of fixes for Zero and Shark:
>
>  http://cr.openjdk.java.net/~gbenson/zero-shark-fixes-03/
>
> Firstly, 6970683 introduced a new method, os::print_register_info,
> which this webrev provides for Zero.  Secondly, 6953144 changed
> the way that compilers are initialized in the compile broker, and
> this webrev updates the Shark initialization for this change.
>
> I don't have a bug id for this.

7002129: Zero and Shark fixes, 3rd

hotspot/src/share/vm/compiler/compileBroker.cpp:

  541 #else // SHARK
  542   int c1_count = 0;
  543   int c2_count = 1;
  544
  545   _compilers[1] = new SharkCompiler();
  546 #endif // SHARK

Does that mean you can compile now a client and server VM with Shark  
enabled?  What happens in a client VM since compiler[0] seems not to  
be set?

-- Christian


More information about the hotspot-compiler-dev mailing list