jdk.nashorn.internal.runtime.AllocationStrategy Java Examples
The following examples show how to use
jdk.nashorn.internal.runtime.AllocationStrategy.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ObjectClassGenerator.java From TencentKona-8 with GNU General Public License v2.0 | 2 votes |
/** * Creates the allocator class name and property map for a constructor function with the specified * number of "this" properties that it initializes. * @param thisProperties number of properties assigned to "this" * @return the allocation strategy */ static AllocationStrategy createAllocationStrategy(final int thisProperties, final boolean dualFields) { final int paddedFieldCount = getPaddedFieldCount(thisProperties); return new AllocationStrategy(paddedFieldCount, dualFields); }
Example #2
Source File: ObjectClassGenerator.java From jdk8u60 with GNU General Public License v2.0 | 2 votes |
/** * Creates the allocator class name and property map for a constructor function with the specified * number of "this" properties that it initializes. * @param thisProperties number of properties assigned to "this" * @return the allocation strategy */ static AllocationStrategy createAllocationStrategy(final int thisProperties, final boolean dualFields) { final int paddedFieldCount = getPaddedFieldCount(thisProperties); return new AllocationStrategy(paddedFieldCount, dualFields); }
Example #3
Source File: ObjectClassGenerator.java From openjdk-jdk8u with GNU General Public License v2.0 | 2 votes |
/** * Creates the allocator class name and property map for a constructor function with the specified * number of "this" properties that it initializes. * @param thisProperties number of properties assigned to "this" * @return the allocation strategy */ static AllocationStrategy createAllocationStrategy(final int thisProperties, final boolean dualFields) { final int paddedFieldCount = getPaddedFieldCount(thisProperties); return new AllocationStrategy(paddedFieldCount, dualFields); }
Example #4
Source File: ObjectClassGenerator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 2 votes |
/** * Creates the allocator class name and property map for a constructor function with the specified * number of "this" properties that it initializes. * @param thisProperties number of properties assigned to "this" * @return the allocation strategy */ static AllocationStrategy createAllocationStrategy(final int thisProperties, final boolean dualFields) { final int paddedFieldCount = getPaddedFieldCount(thisProperties); return new AllocationStrategy(paddedFieldCount, dualFields); }
Example #5
Source File: ObjectClassGenerator.java From openjdk-jdk9 with GNU General Public License v2.0 | 2 votes |
/** * Creates the allocator class name and property map for a constructor function with the specified * number of "this" properties that it initializes. * @param thisProperties number of properties assigned to "this" * @return the allocation strategy */ static AllocationStrategy createAllocationStrategy(final int thisProperties, final boolean dualFields) { final int paddedFieldCount = getPaddedFieldCount(thisProperties); return new AllocationStrategy(paddedFieldCount, dualFields); }
Example #6
Source File: ObjectClassGenerator.java From hottub with GNU General Public License v2.0 | 2 votes |
/** * Creates the allocator class name and property map for a constructor function with the specified * number of "this" properties that it initializes. * @param thisProperties number of properties assigned to "this" * @return the allocation strategy */ static AllocationStrategy createAllocationStrategy(final int thisProperties, final boolean dualFields) { final int paddedFieldCount = getPaddedFieldCount(thisProperties); return new AllocationStrategy(paddedFieldCount, dualFields); }
Example #7
Source File: ObjectClassGenerator.java From jdk8u_nashorn with GNU General Public License v2.0 | 2 votes |
/** * Creates the allocator class name and property map for a constructor function with the specified * number of "this" properties that it initializes. * @param thisProperties number of properties assigned to "this" * @return the allocation strategy */ static AllocationStrategy createAllocationStrategy(final int thisProperties, final boolean dualFields) { final int paddedFieldCount = getPaddedFieldCount(thisProperties); return new AllocationStrategy(paddedFieldCount, dualFields); }