タグ

Javaとjavaに関するgfxのブックマーク (182)

  • JavaVMのメモリ管理をマスターする

    Webシステムの安定動作には、メモリ使用量の適切な見積もりが不可欠。だがJavaVMでメモリがどのように管理されるかを理解しているだろうか? メモリに関する問題が発生すると、知識や技術資料の不足によって問題が長期化しがち。JavaVMでどのようにメモリが管理されているかを理解し、正確なメモリサイジングやメモリ関係のトラブルの早期解決へとつなげよう。 JavaVMのメモリ構造を理解しよう まず、JavaVMがどのようにメモリを使っているかを理解しておこう。JavaVMがプログラムを実行すると、Javaのプロセスによってメモリが使用される。Javaのプロセスでは、Javaヒープ、Permヒープ、Cヒープ、およびスレッドスタックという4つのメモリ領域を使用する。 Javaヒープはアプリケーションプログラムの各種オブジェクトを格納する領域であり、Classのnewで確保される。JavaヒープはNe

    JavaVMのメモリ管理をマスターする
  • Journal of Ovid (2709)

    Note: any errors in this post are mine, not Ben's.Many of you might think that the idea of porting Perl to the Java Virtual Machine (JVM) is silly. In fact, it's not silly, but it's difficult and what would come out of it would be different. The JVM is simply not designed for dynamic languages and its "everything is an object" assumption simply doesn't fit the multi-paradigmatic nature of Perl. Ho

    gfx
    gfx 2009/04/22