Skip to content

Instantly share code, notes, and snippets.

View avorobyov's full-sized avatar

Aleksey Vorobyov avorobyov

View GitHub Profile
@avorobyov
avorobyov / presentation.md
Last active August 23, 2017 02:03
Java in Docker pitfalls presentation

Java in Docker pitfalls


Why Java is a special case

  • JVM ergonomics
  • Libraries ergonomics

JVM and libraries decide how much memory and how many threads to use.

package com.example.demo;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ValueSource;
import java.math.BigInteger;
import java.nio.charset.StandardCharsets;
import java.util.Objects;