This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java -XX:+PrintFlagsFinal -XX:InitialRAMPercentage=50.0 -XX:MaxRAMPercentage=50.0 -XX:+AlwaysPreTouch Dummy & | |
[1] 395 | |
root@jdk:/# [Global flags] | |
intx ActiveProcessorCount = -1 {product} | |
uintx AdaptiveSizeDecrementScaleFactor = 4 {product} | |
uintx AdaptiveSizeMajorGCDecayTimeScale = 10 {product} | |
uintx AdaptiveSizePausePolicy = 0 {product} | |
uintx AdaptiveSizePolicyCollectionCostMargin = 50 {product} | |
uintx AdaptiveSizePolicyInitializingSteps = 20 {product} | |
uintx AdaptiveSizePolicyOutputInterval = 0 {product} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.nio.file.Files | |
import java.nio.file.Path | |
import java.nio.file.Paths | |
import java.util.function.Function | |
import java.util.function.Predicate | |
import java.util.function.Supplier | |
import java.util.stream.Collectors | |
import javax.xml.parsers.DocumentBuilder | |
import javax.xml.parsers.DocumentBuilderFactory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.erabii.doublearray; | |
import java.util.AbstractMap; | |
import java.util.Arrays; | |
import java.util.concurrent.TimeUnit; | |
import java.util.stream.IntStream; | |
import org.openjdk.jmh.annotations.Benchmark; | |
import org.openjdk.jmh.annotations.BenchmarkMode; | |
import org.openjdk.jmh.annotations.Fork; |