Package sun.jvm.hotspot.memory

Examples of sun.jvm.hotspot.memory.DefNewGeneration.from()


        CollectedHeap heap = VM.getVM().getUniverse().heap();
        if (heap instanceof GenCollectedHeap) {
            DefNewGeneration gen0 = (DefNewGeneration) ((GenCollectedHeap) heap).getGen(0);
            if (gen0.eden().contains(obj.getHandle())) {
                return InEden;
            } else if (gen0.from().contains(obj.getHandle())) {
                return InSurvivor;
            }
            Generation gen1 = ((GenCollectedHeap) heap).getGen(1);
            if (gen1.isIn(obj.getHandle())) {
                return InOld;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.