Giter Site home page Giter Site logo

markraley / breaking-java-badly Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.1 MB

Methodology and code for GC stress testing of OpenJDK using different memory collectors under various synthetic loads.

License: MIT License

Python 63.32% Awk 1.65% Java 33.48% Shell 1.55%

breaking-java-badly's Introduction

breaking-java-badly

Methodology and code for GC stress testing of OpenJDK 1.8 using different memory collectors under various synthetic loads. See PDFs in articles folder for detailed explanation.

FYI - code here currently uses tabs.

test execution

typical test execution usage from java_heap_tests folder (java files hould be compiled in place).

./t.sh 1 768 PCFrame02 1 12 ParallelOldGC test

  • 12 tests numbered 1 thru 12 of 768 Million numbers are produced and consumed with a queue size limit of 1 Million are executed.

params are

<MCL in Millions> <Count in millions> <run id start> <run id end> <collector> <results folder>

output captured to specified results folder

GC analysis plot

Log analyzer in wally/wally1.py

simple usage -

python3 wally1.py gc8.log.file

params are

<JVM output log file> [-t '<plot title> -pause_ratio <float> -Xmx <heap size> -NewRatio <int>]'

output

png is generated with decorated name with 'png' added as prefix and suffix

major dependencies

  1. OpenJDK 1.8 (tested)
  2. matplotlib
  3. python3

breaking-java-badly's People

Contributors

markraley avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.