8300124: Remove unnecessary assert in GenCollectedHeap::initialize
Reviewed-by: stefank, tschatzl
This commit is contained in:
parent
289aed465e
commit
319de6a6d3
@ -106,13 +106,6 @@ GenCollectedHeap::GenCollectedHeap(Generation::Name young,
|
||||
}
|
||||
|
||||
jint GenCollectedHeap::initialize() {
|
||||
// While there are no constraints in the GC code that HeapWordSize
|
||||
// be any particular value, there are multiple other areas in the
|
||||
// system which believe this to be true (e.g. oop->object_size in some
|
||||
// cases incorrectly returns the size in wordSize units rather than
|
||||
// HeapWordSize).
|
||||
guarantee(HeapWordSize == wordSize, "HeapWordSize must equal wordSize");
|
||||
|
||||
// Allocate space for the heap.
|
||||
|
||||
ReservedHeapSpace heap_rs = allocate(HeapAlignment);
|
||||
|
Loading…
x
Reference in New Issue
Block a user