Quantcast
Channel: JavaPins - Stories tagged with jvm
Browsing latest articles
Browse All 26 View Live

Image may be NSFW.
Clik here to view.

CRaSH 1.0 - a shell to extend the JVM

After two years of development, I’m proud to release CRaSH 1.0: CRaSH started as an experiment during my Christmas vacations late 2009 and evolved to become the extensible shell for the Java Virtual...

View Article



Image may be NSFW.
Clik here to view.

Useful Java System Properties while starting JVM

Here are some Java system properties that can be used while starting a new JVM. These options either provide some kind of performance benefits under certain conditions, or are used to override default...

View Article

Image may be NSFW.
Clik here to view.

From Java code to Java heap

This article gives you insight into the memory usage of Java™ code, covering the memory overhead of putting an int value into an Integer object, the cost of object delegation, and the memory efficiency...

View Article

Image may be NSFW.
Clik here to view.

10 Examples of HotSpot JVM Options in Java

here are hundreds of JVM parameters or JVM Options exists inside sun JDK and its virtually impossible to keep track of every single JVM option and based on my experience we don't even use most of JVM...

View Article

Image may be NSFW.
Clik here to view.

How to register SSL certificates in your JVM?

You wrote a Java program which needs to access to a external resource through SSL (such as LDAPS or HTTPS)? Okay, this post is for you. The first thing you have to know is that the first time you...

View Article


Image may be NSFW.
Clik here to view.

Tracking excessive garbage collection in Hotspot JVM

Quite frequently due to memory leaks or other memory problems applications freeze leaving only the garbage collector (GC) process running unsuccessfully trying to free some space. This happens until...

View Article

Image may be NSFW.
Clik here to view.

How Garbage Collection differs in the three big JVMs

Most articles about Garbage Collection ignore the fact that the Sun Hotspot JVM is not the only game in town. In fact whenever you have to work with either IBM WebSphere or Oracle WebLogic you will run...

View Article

Image may be NSFW.
Clik here to view.

How the Java virtual machine performs thread synchronization

Top 5Modern threading: A Java concurrency primerSoftware architects need not applyEclipse developers moving to mobileJW Archives: Thread synchronization on the JVMQCon: App dev faces a seismic...

View Article


Image may be NSFW.
Clik here to view.

Runtime.addShutdownHook()

Every Java Program can attach a shutdown hook to JVM, i.e. piece of instructions that JVM should execute before going down. A program may require to execute some pieces of instructions when application...

View Article


Image may be NSFW.
Clik here to view.

How to Get Call Stack Information from Remote Java VM?

Within a Java application it is an easy task to access the current call stacks, but sometimes it is not possible to add code for call stack access in a application, e.g. standard software , enterprise...

View Article

Image may be NSFW.
Clik here to view.

Useful JVM Flags – Part 1 (JVM Types and Compiler Modes)

Modern JVMs do an amazing job at running Java applications (and those of other compatible languages) in an efficient and stable manner. Adaptive memory management, garbage collection, just-in-time...

View Article

Image may be NSFW.
Clik here to view.

Useful JVM Flags – Part 2 (Flag Categories and JIT Compiler Diagnostics)

In the second part of this series, I give an introduction to the different categories of flags offered by the HotSpot JVM. Also, I am going to discuss some interesting flags regarding JIT compiler...

View Article

Image may be NSFW.
Clik here to view.

10 Examples of HotSpot JVM Options in Java

There are hundreds of JVM parameters or JVM Options exists inside sun JDK and its virtually impossible to keep track of every single JVM option and based on my experience we don't even use most of JVM...

View Article


Image may be NSFW.
Clik here to view.

JVM options – HotSpot VM Standard Options

This is part #1 of a series of articles that will provide you a consolidated view of the Sun Java HotSpot VM arguments from the online Oracle documentation. It will also serve as a foundation &...

View Article

Image may be NSFW.
Clik here to view.

When a class is loaded and initialized in JVM - Java

Classloading and initialization in JavaUnderstanding of when a class is loaded and initialized in JVM is one of the fundamental concept of Java programming language. Thanks to Java language...

View Article


Image may be NSFW.
Clik here to view.

Execute external process from within JVM using Apache Commons Exec library |...

Executing external command from within JVM often causes problems- be it in terms of the code to write and manage or in the ease of implementation. I had similar requirement in my Major project for my...

View Article

Image may be NSFW.
Clik here to view.

GC overhead limit exceeded: Understand your JVM ~ Java EE Support Patterns

For JVM related problems and tuning, I always recommend application support individuals to improve their basic JVM skills. The OpenJDK HotSpot implementation (c++ code) allows you to understand at a...

View Article


Image may be NSFW.
Clik here to view.

How to analyze Thread Dump – Part2: JVM Overview ~ Java EE Support Patterns

Before going deeper into Thread Dump analysis and problem patterns, it is very important that you understand the fundamentals. The post will cover the basics and allow you to better your JVM and...

View Article

Image may be NSFW.
Clik here to view.

Vanilla #Java: Using Java 7 to target much older JVMs

Java 5.0 and 6 used to have poor support for compiling classes to target older versions of Java. It always supported the previous version, but often no more. Even if you could compile for previous...

View Article

Image may be NSFW.
Clik here to view.

How to see system properties used in the JVM | Banging My Head Against the Wall

Today I needed to look into a production issue and I needed to see the values “inside” the JVM of system properties.  Thankfully, the JDK (I am using JDK 1.6) ships with the jinfo utility, which will...

View Article

Image may be NSFW.
Clik here to view.

Stas's blog: The most complete list of -XX options for Java JVM

There was a wonderful page with that list (http://www.md.pp.ru/~eu/jdk6options.html), but it seems it's gone now and not available any more. Luckily there is http://web.archive.org which allows to make...

View Article


Image may be NSFW.
Clik here to view.

Tuning the HotSpot JVM’s Garbage Collectors

The HotSpot JVM has been refined and revised with every release of the JDK since the advent of Java in the mid 90ies. Today, Java developers face an abundance of GC algorithms – from plain and simple...

View Article


Image may be NSFW.
Clik here to view.

Comparing JVM Web Frameworks

One question developers often ask is “What web framework should I use to build my application?” High-traffic sites (e.g. eBay, LinkedIn, Twitter, Overstock) have proven that the JVM is a great platform...

View Article

Image may be NSFW.
Clik here to view.

MongoDB on the Java Virtual Machine

MongoDB and the Java programming language boast a deep affinity; but the places where MongoDB is proving strongest are on Java’s Virtual Machine. This talk explores the deeper relationship between the...

View Article

Image may be NSFW.
Clik here to view.

JVM Internals

This article explains the internal architecture of the Java Virtual Machine (JVM). The following diagram show the key internal components of a typical JVM that conforms to The Java Virtual Machine...

View Article

Browsing latest articles
Browse All 26 View Live




Latest Images