[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):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)."]]