Searched refs:objectSize (Results 1 - 9 of 9) sorted by relevance

/openjdk10/hotspot/test/gc/survivorAlignment/
H A DAlignmentHelper.java99 * {@code objectSize}.
101 public int getObjectsCount(long memoryToFill, long objectSize) { argument
102 return (int) (memoryToFill / getObjectSizeInThisSpace(objectSize));
107 * {@code objectSize} will occupy this this space after allocation.
109 public long getExpectedMemoryUsage(long objectSize, int objectsCount) { argument
110 long correctedObjectSize = getObjectSizeInThisSpace(objectSize);
139 * {@code objectSize} in this heap space.
141 public long getObjectSizeInThisSpace(long objectSize) { argument
142 objectSize = Math.max(objectSize, minObjectSizeInThisSpac
[all...]
H A DSurvivorAlignmentTestMain.java98 private final long objectSize; field in class:SurvivorAlignmentTestMain
213 * <li>objectSize</li>
223 long objectSize = Math.max(parseSize(args[1]),
227 return new SurvivorAlignmentTestMain(memoryToFill, objectSize,
256 private SurvivorAlignmentTestMain(long memoryToFill, long objectSize, argument
258 this.objectSize = objectSize;
265 this.objectSize);
266 int arrayLength = helper.getObjectsCount(memoryToFill, this.objectSize);
274 int byteArrayLength = Math.max((int) (objectSize
[all...]
/openjdk10/hotspot/test/gc/g1/humongousObjects/
H A DTestHumongousThreshold.java87 long objectSize = WHITE_BOX.getObjectSize(storage);
88 boolean shouldBeHumongous = objectSize > (REGION_SIZE / 2);
92 + "object size - likely test bug; Allocation size = " + arraySize + "; Object size = " + objectSize
98 + objectSize + "; region size = " + REGION_SIZE);
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/ir/debug/
H A DObjectSizeCalculator.java284 void increaseSize(final Class<?> clazz, final long objectSize) { argument
290 he.addInstance(objectSize);
291 size += objectSize;
300 private final long objectSize; field in class:ObjectSizeCalculator.ClassSizeInfo
329 this.objectSize = roundTo(objectHeaderSize + newFieldsSize, objectPadding);
335 calc.increaseSize(obj.getClass(), objectSize);
/openjdk10/hotspot/test/compiler/compilercontrol/parser/
H A DHugeDirectiveUtil.java73 * @param objectSize a size of the match object
76 DirectiveWriter file, int objectSize) {
80 for (int i = 0; i < objectSize; i++) {
75 createMatchObject(List<MethodDescriptor> descriptors, DirectiveWriter file, int objectSize) argument
/openjdk10/hotspot/test/gc/g1/
H A DTestStringDeduplicationTools.java81 final int objectSize = 128;
82 final int maxObjectInYoung = (Xmn * MB) / objectSize;
86 dummy = new byte[objectSize];
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/gc/cms/
H A DCompactibleFreeListSpace.java183 long objectSize = obj.getObjectSize();
184 cur = cur.addOffsetTo(adjustObjectSizeInBytes(objectSize));
/openjdk10/hotspot/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/tools/
H A DClassLoaderStats.java244 private static long objectSize(Oop oop) { method in class:ClassLoaderStats
/openjdk10/jdk/src/java.instrument/share/native/libinstrument/
H A DJPLISAgent.c1435 jlong objectSize = -1; local
1438 jvmtierror = (*jvmtienv)->GetObjectSize(jvmtienv, objectToSize, &objectSize);
1446 return objectSize;

Completed in 196 milliseconds