< prev index next >
test/gc/TestSmallHeap.java
Print this page
*** 55,68 ****
* simplified version of the code in the VM. We assume that the card table will
* use one page. Each byte in the card table corresponds to 512 bytes on the heap.
* So, the expected heap size is page_size * 512.
*/
! import com.oracle.java.testlibrary.*;
import com.sun.management.HotSpotDiagnosticMXBean;
import java.lang.management.ManagementFactory;
! import static com.oracle.java.testlibrary.Asserts.*;
import sun.hotspot.WhiteBox;
public class TestSmallHeap {
--- 55,68 ----
* simplified version of the code in the VM. We assume that the card table will
* use one page. Each byte in the card table corresponds to 512 bytes on the heap.
* So, the expected heap size is page_size * 512.
*/
! import jdk.test.lib.*;
import com.sun.management.HotSpotDiagnosticMXBean;
import java.lang.management.ManagementFactory;
! import static jdk.test.lib.Asserts.*;
import sun.hotspot.WhiteBox;
public class TestSmallHeap {
< prev index next >