Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 1010:354d3184f6b2
6890308: integrate zero assembler hotspot changes
Reviewed-by: never
Contributed-by: gbenson@redhat.com
author | never |
---|---|
date | Tue, 13 Oct 2009 12:04:21 -0700 |
parents | 54b3b351d6f9 |
children | 323bd24c6520 473cce303f13 |
comparison
equal
deleted
inserted
replaced
1009:03b336640699 | 1010:354d3184f6b2 |
---|---|
1227 } | 1227 } |
1228 no_shared_spaces(); | 1228 no_shared_spaces(); |
1229 } | 1229 } |
1230 } | 1230 } |
1231 | 1231 |
1232 #ifndef ZERO | |
1232 #ifdef _LP64 | 1233 #ifdef _LP64 |
1233 // Check that UseCompressedOops can be set with the max heap size allocated | 1234 // Check that UseCompressedOops can be set with the max heap size allocated |
1234 // by ergonomics. | 1235 // by ergonomics. |
1235 if (MaxHeapSize <= max_heap_for_compressed_oops()) { | 1236 if (MaxHeapSize <= max_heap_for_compressed_oops()) { |
1236 if (FLAG_IS_DEFAULT(UseCompressedOops) && !UseG1GC) { | 1237 if (FLAG_IS_DEFAULT(UseCompressedOops) && !UseG1GC) { |
1252 } | 1253 } |
1253 } | 1254 } |
1254 // Also checks that certain machines are slower with compressed oops | 1255 // Also checks that certain machines are slower with compressed oops |
1255 // in vm_version initialization code. | 1256 // in vm_version initialization code. |
1256 #endif // _LP64 | 1257 #endif // _LP64 |
1258 #endif // !ZERO | |
1257 } | 1259 } |
1258 | 1260 |
1259 void Arguments::set_parallel_gc_flags() { | 1261 void Arguments::set_parallel_gc_flags() { |
1260 assert(UseParallelGC || UseParallelOldGC, "Error"); | 1262 assert(UseParallelGC || UseParallelOldGC, "Error"); |
1261 // If parallel old was requested, automatically enable parallel scavenge. | 1263 // If parallel old was requested, automatically enable parallel scavenge. |