Skip to content

Instantly share code, notes, and snippets.

@shipilev
Last active March 8, 2017 13:28
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shipilev/3be34bb58febcaa0dbb1d86b5a6cfdca to your computer and use it in GitHub Desktop.
Save shipilev/3be34bb58febcaa0dbb1d86b5a6cfdca to your computer and use it in GitHub Desktop.
$ mail
From: <random Facebook person>
Subject: Java sucks
Hey, try to put 100M objects into arraylist, and see Java freezes for seconds!
Q.E.D.
Love and kisses,
<random person you never knew>
^X
The rest is moved at:
https://shipilev.net/jvm-anatomy-park/3-gc-design-and-pauses/
@vladimirdolzhenko
Copy link

$ echo "yeaaah" | cowsay -f vader


< yeaaah >

    \    ,-^-.
     \   !oYo!
      \ /./=\.\______
           ##        )\/\
            ||-----w||
            ||      ||

           Cowth Vader

$ time ~/workspace/jdk10/build/macosx-x86_64-normal-server-release/images/jdk/bin/java -Xms4G -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC AL
-Xms4G -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseEpsilonGC AL 1.35s user 1.27s system 89% cpu 2.911 total

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment