< prev index next >
src/share/vm/gc_implementation/shenandoah/shenandoahHeapRegion.hpp
Print this page
rev 9436 : Import from Shenandoah tag aarch64-shenandoah-jdk8u121-b14-shenandoah-merge-2017-03-23
*** 66,82 ****
return ShenandoahHeapRegion::RegionSizeShift;
}
// Convert to jint with sanity checking
inline static jint region_size_bytes_jint() {
! assert (ShenandoahHeapRegion::RegionSizeBytes <= max_jint, "sanity");
return (jint)ShenandoahHeapRegion::RegionSizeBytes;
}
// Convert to jint with sanity checking
inline static jint region_size_shift_jint() {
! assert (ShenandoahHeapRegion::RegionSizeShift <= max_jint, "sanity");
return (jint)ShenandoahHeapRegion::RegionSizeShift;
}
size_t region_number() const;
--- 66,82 ----
return ShenandoahHeapRegion::RegionSizeShift;
}
// Convert to jint with sanity checking
inline static jint region_size_bytes_jint() {
! assert (ShenandoahHeapRegion::RegionSizeBytes <= (size_t)max_jint, "sanity");
return (jint)ShenandoahHeapRegion::RegionSizeBytes;
}
// Convert to jint with sanity checking
inline static jint region_size_shift_jint() {
! assert (ShenandoahHeapRegion::RegionSizeShift <= (size_t)max_jint, "sanity");
return (jint)ShenandoahHeapRegion::RegionSizeShift;
}
size_t region_number() const;
< prev index next >