Skip to content

Instantly share code, notes, and snippets.

View proshin-roman's full-sized avatar

Roman Proshin proshin-roman

View GitHub Profile
@proshin-roman
proshin-roman / build.log
Last active July 10, 2018 19:45
zerocracy/farm fails to build on Windows 10
> mvn clean install -Pqulice
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------------< com.zerocracy:farm >-------------------------
[INFO] Building farm 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The artifact org.hibernate:hibernate-validator:jar:6.0.2.Final has been relocated to org.hibernate.validator:hibernate-validator:jar:6.0.2.Final
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ farm ---
[INFO] Deleting C:\projects\github\farm\target
@proshin-roman
proshin-roman / build.log
Created June 25, 2018 08:34
zerocracy/farm#1041 - build fails on Windows
>> mvn clean install --batch-mode -Pqulice
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------------< com.zerocracy:farm >-------------------------
[INFO] Building farm 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The artifact org.hibernate:hibernate-validator:jar:6.0.2.Final has been relocated to org.hibernate.validator:hibernate-validator:jar:6.0.2.Final
[INFO]
[INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ farm ---
[INFO] Deleting C:\projects\github\farm\target
@proshin-roman
proshin-roman / TeeInputFromCharArrayTest.java
Created March 1, 2018 06:00
Test cases for TeeInput ctors
/**
* The MIT License (MIT)
*
* Copyright (c) 2017-2018 Yegor Bugayenko
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
@proshin-roman
proshin-roman / TeeInputHasResult.java
Created March 1, 2018 05:53
New matcher for TeeInput class
/**
* The MIT License (MIT)
*
* Copyright (c) 2017-2018 Yegor Bugayenko
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
@proshin-roman
proshin-roman / Main.java
Created December 27, 2017 17:37
Yandex test program
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import javax.annotation.Nonnull;
public class Main {
public static void main(String[] args) {
CacheableDigest digest =
new CacheableDigest(
new DigestImpl());
[GC (Allocation Failure) 393728K->46028K(459264K), 0,0558639 secs]
[GC (Allocation Failure) 439756K->59593K(459776K), 0,0501785 secs]
[GC (Allocation Failure) 453833K->77522K(472064K), 0,0522273 secs]
[Full GC (Ergonomics) 77522K->74181K(485376K), 0,2491381 secs]
[GC (Allocation Failure) 468421K->66747K(485376K), 0,0325798 secs]
[GC (Metadata GC Threshold) 246941K->44103K(452096K), 0,0528463 secs]
[Full GC (Metadata GC Threshold) 44103K->30418K(464896K), 0,1138886 secs]
[GC (Allocation Failure) 424658K->43590K(471040K), 0,0143878 secs]
[GC (Allocation Failure) 391750K->47189K(475136K), 0,0145472 secs]
[GC (Allocation Failure) 395349K->42039K(474112K), 0,0103293 secs]
@proshin-roman
proshin-roman / 1. before-tests.txt
Last active December 13, 2016 15:42
Outputs of pmap tool
26230: /usr/lib/jvm/java-8-openjdk-amd64/jre//bin/java -Djava.util.logging.config.file=/home/roman/devtools/apache-tomcat-8.5.4/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk.tls.ephemeralDHKeySize=2048 -agentlib:jdwp=transport=dt_socket,address=localhost:8000,server=y,suspend=n -Xms1024m -Xmx1024m -XX:NewSize=512m -XX:MaxNewSize=512m -Xss512k -XX:+UseParallelGC -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -XX:MaxMetaspaceSize=512m -XX:-TieredCompilation -XX:Re
Address Perm Offset Device Inode Size Rss Pss Referenced Anonymous ShmemPmdMapped Shared_Hugetlb Private_Hugetlb Swap SwapPss Locked Mapping
c0000000 rw-p 00000000 00:00 0 1057536 608932 608932 608932 608932 0 0 0 0 0 0
1008c0000 ---p 00000000 00:00 0 1039616 0 0 0 0 0 0 0 0 0 0
563a07a3f000 r-xp 000