1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

OpenJ9 で GO

1
Posted at

現状利用している OpenJ9 向け設定を紹介するだけの記事です。

Apache Maven の場合

環境変数 MAVEN_OPTS-Xgcpolicy:optthruput -Xshareclasses:name=maven に設定しました。

現在までのところ、共有クラス キャッシュのサイズはデフォルトの 64 MiB で問題なさそうです。

NetBeasn IDE (Windows) の場合

ショートカットのリンク先に -J-Xshareclasses:name=netbeans -J-Xscmx96m -J-Xquickstart を追加しました。

IDE では共有クラス キャッシュの空きが厳しくなる模様なので、 96 MiB に増やしました。また IDE の起動が遅いとストレスの種になるので、 -Xquickstart も指定しました。

Docker コンテナーの場合

コンテナー内環境変数 OPENJ9_JAVA_OPTIONS-Xtune:virtualized -Xshareclasses に設定しました。

共有クラス キャッシュのサイズは、アプリケーションにより調整が必要でしょうね。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?