Monday, April 30th, 2018
When we need to investigate the cause for a dysfunctional Java application we have a plethora of tools available that on the one hand help us in gathering information, artifacts and statistics and on the other hand help us in processing this information and identifying possible problems.
The following list of tools, snippets, workflows and information about specific artifacts could provide a starting point for analyzing such problems and covers topics like heap-dumps, thread-dumps, heap-histograms, heap-regions, garbage-collection-logs, hotspot-compiler/codecache-logs, debugging native-memory, tools for heap-dump-analysis, JVM unified logging and more..
(more…)
Tags: analysis, codecache, dominator, forensic, garbage-collection, gc, gcplot, heap, histogram, hprof, java9, jcmd, jfr, jit, jitwatch, jmap, jmc, jstack, jstat, jtune, jvm, leaks, logging, mat, memory, memory-analyzer, metaspace, native, ram, tda
Posted in Java | 3 Comments »
Sunday, January 14th, 2018
Reactive Streams is an initiative trying to standardize asynchronous stream processing with non-blocking back-pressure. With Java 9, new classes in the java.util.concurrent.flow package offer a semantically equivalent counterpart to this standard that may be adopted by other frameworks.
In the following short tutorial we’re implementing examples for reactive streams with Java 9 and the Flow API, with RxJava2, with Akka, with Reactor and finally there is an example in RxJava1, too though it does not follow the standard.
(more…)
Tags: akka, backpressure, consumer, diagramming, flow, flow-api, java9, jdk9, manifesto, maven, plantuml, producer, publisher, reactive, reactivex, reactor, rxjava, rxjava1, rxjava2, streams, subscriber, uml
Posted in Java | 3 Comments »
Monday, April 17th, 2017
Playing around with the new module system in Java 9 I simply wanted to write down how to achieve the most basic tasks.
Therefore I created the following module how-to based upon a simple demonstration project consisting of two dependant modules.
(more…)
Tags: compiler, jar, java9, jdk, jep261, jigsaw, jlink, jpms, jsr376, module, osgi
Posted in Java | 1 Comment »