Java 8 はサポートが終了しており、2026 年 1 月 31 日に
非推奨になります。非推奨になると、過去に組織のポリシーを使用して以前のランタイムのデプロイを再度有効にしていた場合でも、Java 8 アプリケーションをデプロイできなくなります。既存の Java 8 アプリケーションは、
非推奨になる日付以降も引き続き実行され、トラフィックを受信します。
サポートされている最新バージョンの Java に移行することをおすすめします。
Cloud Profiler でのパフォーマンスについて
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Cloud Profiler は、本番環境のアプリケーションから CPU 使用率やメモリ割り当てなどの情報を継続的に収集する、オーバーヘッドの少ないプロファイラです。収集した情報から情報の生成元であるソースコードが特定されるので、最もリソースを消費しているアプリケーション部分を容易に識別できます。アプリケーションの特定が難しい場合でも、パフォーマンスの特徴を把握できます。詳細な概要については、Cloud Profiler ドキュメントのプロファイリングのコンセプトをご覧ください。
サポートされている最新の Java ランタイムのプロファイリング データをキャプチャするには、Java アプリケーションのプロファイリングをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-09-04 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-09-04 UTC。"],[[["\u003cp\u003eCloud Profiler is a tool that continuously gathers CPU usage and memory-allocation data from production applications.\u003c/p\u003e\n"],["\u003cp\u003eCloud Profiler attributes performance data to the corresponding source code, helping identify resource-intensive areas.\u003c/p\u003e\n"],["\u003cp\u003eJava 8 runtime does not support \u003ccode\u003eGAE_PROFILER_MODE\u003c/code\u003e, requiring migration to a later version for Profiler agent use.\u003c/p\u003e\n"],["\u003cp\u003eDetailed information on profiling concepts and capturing data for supported Java runtimes is available in the Cloud Profiler documentation.\u003c/p\u003e\n"]]],[],null,["# Understand performance with Cloud Profiler\n\n| **Note:** The Java 8 runtime [doesn't support](/appengine/docs/standard/lifecycle/runtime-lifecycle#end_of_support) `GAE_PROFILER_MODE`. To continue using the Profiler agent, you must [migrate your application](/appengine/migration-center/standard/migrate-to-second-gen/java-differences) to the latest supported version of Java. To configure the Profiler agent for your second-generation Java application, see [Profiling Java applications](/profiler/docs/profiling-java#starting_your_program).\n\nCloud Profiler is a statistical, low-overhead profiler that\ncontinuously gathers CPU usage and memory-allocation information from your\nproduction applications. It attributes that information to the source code\nthat generated it, helping you identify the parts of your application that are\nconsuming the most resources, and otherwise illuminating your applications\nperformance characteristics. For a detailed overview, see\n[Profiling concepts](/profiler/docs/concepts-profiling) in the Cloud Profiler\ndocumentation.\n\nTo capture profiling data for the latest supported Java runtime, see\n[Profiling Java applications](/profiler/docs/profiling-java)."]]