diff src/share/vm/opto/phaseX.hpp @ 113:ba764ed4b6f2

6420645: Create a vm that uses compressed oops for up to 32gb heapsizes Summary: Compressed oops in instances, arrays, and headers. Code contributors are coleenp, phh, never, swamyv Reviewed-by: jmasa, kamg, acorn, tbell, kvn, rasbold
author coleenp
date Sun, 13 Apr 2008 17:43:42 -0400
parents a8880a78d355
children d1605aabd0a1
line wrap: on
line diff
--- a/src/share/vm/opto/phaseX.hpp	Fri Apr 11 09:56:35 2008 -0400
+++ b/src/share/vm/opto/phaseX.hpp	Sun Apr 13 17:43:42 2008 -0400
@@ -383,6 +383,10 @@
 // Phase for iteratively performing local, pessimistic GVN-style optimizations.
 // and ideal transformations on the graph.
 class PhaseIterGVN : public PhaseGVN {
+ private:
+  bool _delay_transform;  // When true simply register the node when calling transform
+                          // instead of actually optimizing it
+
   // Idealize old Node 'n' with respect to its inputs and its value
   virtual Node *transform_old( Node *a_node );
 protected:
@@ -446,6 +450,10 @@
     subsume_node(old, nn);
   }
 
+  void set_delay_transform(bool delay) {
+    _delay_transform = delay;
+  }
+
 #ifndef PRODUCT
 protected:
   // Sub-quadratic implementation of VerifyIterativeGVN.