VisualVM is tool for profiling Java applications made by Sun. Today I would like to write about my experience with it. Some time ago I was experimenting with game programming in Java. I wrote clone of famous Boulder Dash game. When playing the game on different machines I found out that it eats terrible amount of CPU time. What? The original was running nicely on 8bits ZX Spectrum ;). I started lo
It's amazing the things that are right in front of you that you don't realise. VisualVM is probably the best example of this in the Java community. Everytime you go and update your JDK, you go straight to your IDE and capitalise on the new features provided. At least, that's what I thought I was doing. I first read about VisualVM in an article Geertjan Wielenga wrote back in February of last year
A while back Java VisualVM 1.3 was released. We’ll see what’s new with this release. At this time, there is no package for Ubuntu, so we’ll install it manually : wget https://visualvm.dev.java.net/files/documents/7163/151728/visualvm_13.zip unzip visualvm_13.zipAnd then we can directly launch it : cd visualvm_13/bin sh visualvmYou’ll be asked for the license agreement and after that the tool is la
VisualVM - a brief overview Bringing in extensions Powerusers' Tips and Tricks Bringing in a bunch of monitoring tools already available in jdk - jps, jstat, jmap, jstack and jhat built on top of NetBeans Platform (RCP) Open source project started in 2008 - Included in Sun JDK distribution since 1.6.0_7 - the name is jvisualvm.
Devoxx, and all similar conferences, is a place where you make new discoveries, continually. One of these, in my case, at last week's Devoxx, started from a discussion with Jaroslav Bachorik from the VisualVM team. He had presented VisualVM's extensibility in a session at Devoxx. I had heard that, when creating extensions for VisualVM, one can also create new charts using VisualVM's own charting A
ここ最近は機能追加の進捗しか書いていなかったので、今回は、技術的なことも少し書いてみたい。ということで、jvisualvmを利用したCPUプロファイリングの方法を紹介しよう。 jvisualvmとは、JDKに標準で付属するプロファイラだ*1。JavaVMのメモリ使用量や、スレッドの動作状況など、基本的な情報をリアルタイムで取得、表示してくれる。さっそく、起動してみる。 jvisualvmの起動 一番初めに、測定対象のJavaプログラムを起動しておこう。起動を確認したら、コマンドラインより、「jvisualvm」と打ち込む。すると、jvisualvmが起動して、次の画面が表示される。 左側には、起動中のJVMの一覧が表示される。ここでは、jvisualvm自身のvm、開発に利用しているIDEであるNetBeans6.1、そして開発中の画像ビューアjgbがあることが分かる。さっそく、開発中の画
WindowsのtomcatでVisualVM使おうとして普通に使えなかったのでJMXの設定を行ったときのメモ -Dcom.sun.management.jmxremote.port=8086(適当なポート番号) -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false tomcatのスクリプトのcatalina.batのJAVA_OPTに上記3つを設定 これで大体うまくいくんだけども、shutdown.batでうまくいかない。 どうも、shutdownのときはJAVA_OPTに上記を指定しているのがまずいみたい。 ってことでcatalina.batを修正する必要がありますよっと。 JAVA_OPTの設定のところで、引数がstopのときとstartのときで分岐させると
原文: チャールズ=オリバー=ナター Ruby言語の各実装において、どんなメモリ消費を解析するツールがあるのかが近頃ちょっとした話題になっています。 それもその筈、Rubyで書かれたアプリケーションの(不具合の調査は言うに及ばず)メモリ消費の具合を詳しく調べるのは容易い事ではありません。 JRubyを使わないのなら、そうです。 JRubyはJVM上で走るので、JVM向けに作られた何十ものツールの恩恵に授かる事が出来ます。 中にはJDKに同梱されているものを含め、メモリの調査、解析、レポートをするものもあります。 ヒープダンプが欲しければ、Hotspot系のJVM(SunまたはOpenJDK)に含まれるjmapやjhatが使えます。 もっと高度なツールが欲しければ、Eclipseを基にしたMemory Analysis Tool、 メモリ及びCPU性能解析ツールであるYourKit、 今では
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く