< prev index next >

src/hotspot/share/gc/z/zArguments.cpp

Print this page

 82     FLAG_SET_ERGO(InitialHeapSize, max_reserve);
 83   }
 84 
 85 #ifdef COMPILER2
 86   // Enable loop strip mining by default
 87   if (FLAG_IS_DEFAULT(UseCountedLoopSafepoints)) {
 88     FLAG_SET_DEFAULT(UseCountedLoopSafepoints, true);
 89     if (FLAG_IS_DEFAULT(LoopStripMiningIter)) {
 90       FLAG_SET_DEFAULT(LoopStripMiningIter, 1000);
 91     }
 92   }
 93 #endif
 94 
 95   // CompressedOops not supported
 96   FLAG_SET_DEFAULT(UseCompressedOops, false);
 97 
 98   // Verification before startup and after exit not (yet) supported
 99   FLAG_SET_DEFAULT(VerifyDuringStartup, false);
100   FLAG_SET_DEFAULT(VerifyBeforeExit, false);
101 
102   // Verification before heap iteration not (yet) supported, for the
103   // same reason we need fixup_partial_loads
104   FLAG_SET_DEFAULT(VerifyBeforeIteration, false);
105 
106   if (VerifyBeforeGC || VerifyDuringGC || VerifyAfterGC) {
107     FLAG_SET_DEFAULT(ZVerifyRoots, true);
108     FLAG_SET_DEFAULT(ZVerifyObjects, true);
109   }
110 
111   // Verification of stacks not (yet) supported, for the same reason
112   // we need fixup_partial_loads
113   DEBUG_ONLY(FLAG_SET_DEFAULT(VerifyStack, false));
114 }
115 
116 size_t ZArguments::conservative_max_heap_alignment() {
117   return 0;
118 }
119 
120 CollectedHeap* ZArguments::create_heap() {
121   return new ZCollectedHeap();
122 }
123 
124 bool ZArguments::is_supported() const {
125   return is_os_supported();
126 }

 82     FLAG_SET_ERGO(InitialHeapSize, max_reserve);
 83   }
 84 
 85 #ifdef COMPILER2
 86   // Enable loop strip mining by default
 87   if (FLAG_IS_DEFAULT(UseCountedLoopSafepoints)) {
 88     FLAG_SET_DEFAULT(UseCountedLoopSafepoints, true);
 89     if (FLAG_IS_DEFAULT(LoopStripMiningIter)) {
 90       FLAG_SET_DEFAULT(LoopStripMiningIter, 1000);
 91     }
 92   }
 93 #endif
 94 
 95   // CompressedOops not supported
 96   FLAG_SET_DEFAULT(UseCompressedOops, false);
 97 
 98   // Verification before startup and after exit not (yet) supported
 99   FLAG_SET_DEFAULT(VerifyDuringStartup, false);
100   FLAG_SET_DEFAULT(VerifyBeforeExit, false);
101 




102   if (VerifyBeforeGC || VerifyDuringGC || VerifyAfterGC) {
103     FLAG_SET_DEFAULT(ZVerifyRoots, true);
104     FLAG_SET_DEFAULT(ZVerifyObjects, true);
105   }




106 }
107 
108 size_t ZArguments::conservative_max_heap_alignment() {
109   return 0;
110 }
111 
112 CollectedHeap* ZArguments::create_heap() {
113   return new ZCollectedHeap();
114 }
115 
116 bool ZArguments::is_supported() const {
117   return is_os_supported();
118 }
< prev index next >