This file contains hidden or 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
plugins { | |
idea | |
`java-library` | |
} | |
group = "de.sergejisbrecht" | |
version = "1.0-SNAPSHOT" | |
repositories { | |
mavenCentral() |
This file contains hidden or 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
Compile | |
[orm:9126] classlist: 8,863.08 ms | |
███████╗██████╗ ██████╗ ██╗███╗ ██╗ ██████╗ ██████╗ ██████╗ ██████╗ ████████╗ ██████╗ ██████╗ █████╗ █████╗ ██╗ | |
██╔════╝██╔══██╗██╔══██╗██║████╗ ██║██╔════╝ ██╔══██╗██╔═══██╗██╔═══██╗╚══██╔══╝ ██╔════╝ ██╔══██╗██╔══██╗██╔══██╗██║ | |
███████╗██████╔╝██████╔╝██║██╔██╗ ██║██║ ███╗ ██████╔╝██║ ██║██║ ██║ ██║ ██║ ███╗██████╔╝███████║███████║██║ | |
╚════██║██╔═══╝ ██╔══██╗██║██║╚██╗██║██║ ██║ ██╔══██╗██║ ██║██║ ██║ ██║ ██║ ██║██╔══██╗██╔══██║██╔══██║██║ | |
███████║██║ ██║ ██║██║██║ ╚████║╚██████╔╝ ██████╔╝╚██████╔╝╚██████╔╝ ██║ ╚██████╔╝██║ ██║██║ ██║██║ ██║███████╗ | |
╚══════╝╚═╝ ╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝ |
This file contains hidden or 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 io.reactivex.Completable; | |
import io.reactivex.Flowable; | |
import io.reactivex.Maybe; | |
import io.reactivex.Observable; | |
import io.reactivex.Scheduler; | |
import io.reactivex.Single; | |
import io.reactivex.disposables.Disposable; | |
import io.reactivex.observers.TestObserver; | |
import io.reactivex.schedulers.TestScheduler; | |
import io.reactivex.subjects.SingleSubject; |
This file contains hidden or 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
#!/bin/bash | |
for i in $(ls /proc/$1/task/) | |
do | |
grep -A5 stack /proc/$1/task/$i/smaps | |
done |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
// https://www.javaspecialists.eu/archive/Issue142.html | |
int[] primitiveIntArray = new int[1000]; | |
primitiveIntArray[0] = 256; | |
primitiveIntArray[1] = 256; | |
primitiveIntArray[2] = 256; | |
primitiveIntArray[3] = 256; | |
primitiveIntArray[4] = 256; | |
measureSize(primitiveIntArray); |
This file contains hidden or 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
GraalVM: | |
492d008a8bd (HEAD -> master, origin/master, origin/HEAD) [GR-21713] TRegex: fix compilation failure in GroupBoundaries.apply. | |
JDK | |
sergej@sergej-P50:~/Development/GitHub/graal/substratevm$ export JAVA_HOME=/home/sergej/Downloads/OpenJDK_JVMCI_20_java11/labsjdk-ce-11.0.6-jvmci-20.0-b02 | |
BUILD NATIVE_IMAGE with disabled TimeZone feat: | |
sergej@sergej-P50:~/Development/GitHub/graal/substratevm$ /home/sergej/Development/GitHub/mx/mx native-image -cp /home/sergej/Development/IdeaProjects/playground/build/classes/java/main -H:Path=/home/sergej/Development/IdeaProjects/playground/build/native-image -H:Name=error --no-fallback --no-server -H:+TraceClassInitialization -H:+ReportExceptionStackTraces TimeZoneIdParsing | |
Warning: Ignoring server-mode native-image argument --no-server. | |
[error:23734] classlist: 2,452.49 ms, 0.96 GB |
This file contains hidden or 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
sergej@sergej-P50:~/Development/IdeaProjects/playground$ /home/sergej/.sdkman/candidates/java/13.0.1.hs-adpt/bin/java -version | |
openjdk version "13.0.1" 2019-10-15 | |
OpenJDK Runtime Environment AdoptOpenJDK (build 13.0.1+9) | |
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 13.0.1+9, mixed mode, sharing) | |
sergej@sergej-P50:~/Development/IdeaProjects/playground$ uname -a | |
Linux sergej-P50 4.18.0-25-generic #26-Ubuntu SMP Mon Jun 24 09:32:08 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux | |
jol >> java.util.RegularEnumSet, size=1584 | |
jol >> org.eclipse.collections.impl.set.mutable.UnifiedSet, size=976 |
This file contains hidden or 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 com.example.benchmark | |
import androidx.benchmark.junit4.BenchmarkRule | |
import androidx.benchmark.junit4.measureRepeated | |
import androidx.test.ext.junit.runners.AndroidJUnit4 | |
import androidx.test.filters.LargeTest | |
import io.reactivex.rxjava3.core.Flowable | |
import org.junit.Rule | |
import org.junit.Test | |
import org.junit.runner.RunWith |