[[["容易理解","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 (世界標準時間)。"],[[["\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)."]]