equal
deleted
inserted
replaced
2123 Universe::check_alignment(max_byte_size, HeapRegion::GrainBytes, "g1 heap"); |
2123 Universe::check_alignment(max_byte_size, HeapRegion::GrainBytes, "g1 heap"); |
2124 Universe::check_alignment(max_byte_size, heap_alignment, "g1 heap"); |
2124 Universe::check_alignment(max_byte_size, heap_alignment, "g1 heap"); |
2125 |
2125 |
2126 _refine_cte_cl = new RefineCardTableEntryClosure(); |
2126 _refine_cte_cl = new RefineCardTableEntryClosure(); |
2127 |
2127 |
2128 _cg1r = new ConcurrentG1Refine(this, _refine_cte_cl); |
2128 jint ecode = JNI_OK; |
|
2129 _cg1r = ConcurrentG1Refine::create(this, _refine_cte_cl, &ecode); |
|
2130 if (_cg1r == NULL) { |
|
2131 return ecode; |
|
2132 } |
2129 |
2133 |
2130 // Reserve the maximum. |
2134 // Reserve the maximum. |
2131 |
2135 |
2132 // When compressed oops are enabled, the preferred heap base |
2136 // When compressed oops are enabled, the preferred heap base |
2133 // is calculated by subtracting the requested size from the |
2137 // is calculated by subtracting the requested size from the |