Java 8 has reached end of support
and will be
deprecated
on January 31, 2026. After deprecation, you won't be able to deploy Java 8
applications, even if your organization previously used an organization policy to
re-enable deployments of legacy runtimes. Your existing Java
8 applications will continue to run and receive traffic after their
deprecation date. We recommend that
you
migrate to the latest supported version of Java.
Understand performance with Cloud Profiler
Stay organized with collections
Save and categorize content based on your preferences.
Cloud Profiler is a statistical, low-overhead profiler that
continuously gathers CPU usage and memory-allocation information from your
production applications. It attributes that information to the source code
that generated it, helping you identify the parts of your application that are
consuming the most resources, and otherwise illuminating your applications
performance characteristics. For a detailed overview, see
Profiling concepts in the Cloud Profiler
documentation.
To capture profiling data for the latest supported Java runtime, see
Profiling Java applications.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 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)."]]