Thanks for using Compiler Explorer
Sponsors
Jakt
C++
Ada
Analysis
Android Java
Android Kotlin
Assembly
C
C3
Carbon
C++ (Circle)
CIRCT
Clean
CMake
CMakeScript
COBOL
C++ for OpenCL
MLIR
Cppx
Cppx-Blue
Cppx-Gold
Cpp2-cppfront
Crystal
C#
CUDA C++
D
Dart
Elixir
Erlang
Fortran
F#
GLSL
Go
Haskell
HLSL
Hook
Hylo
IL
ispc
Java
Julia
Kotlin
LLVM IR
LLVM MIR
Modula-2
Nim
Objective-C
Objective-C++
OCaml
OpenCL C
Pascal
Pony
Python
Racket
Ruby
Rust
Snowball
Scala
Solidity
Spice
SPIR-V
Swift
LLVM TableGen
Toit
TypeScript Native
V
Vala
Visual Basic
WASM
Zig
Javascript
GIMPLE
Ygen
android-java source #2
Output
Compile to binary object
Link to binary
Execute the code
Intel asm syntax
Demangle identifiers
Verbose demangling
Filters
Unused labels
Library functions
Directives
Comments
Horizontal whitespace
Debug intrinsics
Compiler
ART dex2oat aml_art_331012050 (Oct 2022)
ART dex2oat aml_art_341110060 (Nov 2023)
ART dex2oat aml_art_341311100 (Jan 2024)
ART dex2oat aml_art_341411300 (Feb 2024)
ART dex2oat aml_art_341514410 (Mar 2024)
ART dex2oat aml_art_341615020 (Apr 2024)
ART dex2oat aml_art_341711000 (May 2024)
ART dex2oat aml_art_341810020 (Jun 2024)
ART dex2oat latest
d8 8.1.56
d8 8.1.72
d8 8.2.33
d8 8.2.42
d8 8.2.47
d8 8.3.36
d8 8.3.37
d8 8.5.10
d8 8.5.27
d8 8.5.35
r8 8.2.33
r8 8.2.42
r8 8.2.47
r8 8.3.36
r8 8.3.37
r8 8.5.10
r8 8.5.27
r8 8.5.35
Options
Source code
import android.content.Context; import android.content.Intent; import android.net.Uri; class ProfileDemo { // This is a profile method (see profile.prof.txt) // so it will be compiled. static void goToUri(Context context, Uri uri) { Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData(uri); context.startActivity(intent); } // This is not a profile method, so it won't be compiled // ahead of time. static void goToUri(Context context, String uri) { goToUri(context, Uri.parse(uri)); } }
android-java source #1
Output
Compile to binary object
Link to binary
Execute the code
Intel asm syntax
Demangle identifiers
Verbose demangling
Filters
Unused labels
Library functions
Directives
Comments
Horizontal whitespace
Debug intrinsics
Compiler
ART dex2oat aml_art_331012050 (Oct 2022)
ART dex2oat aml_art_341110060 (Nov 2023)
ART dex2oat aml_art_341311100 (Jan 2024)
ART dex2oat aml_art_341411300 (Feb 2024)
ART dex2oat aml_art_341514410 (Mar 2024)
ART dex2oat aml_art_341615020 (Apr 2024)
ART dex2oat aml_art_341711000 (May 2024)
ART dex2oat aml_art_341810020 (Jun 2024)
ART dex2oat latest
d8 8.1.56
d8 8.1.72
d8 8.2.33
d8 8.2.42
d8 8.2.47
d8 8.3.36
d8 8.3.37
d8 8.5.10
d8 8.5.27
d8 8.5.35
r8 8.2.33
r8 8.2.42
r8 8.2.47
r8 8.3.36
r8 8.3.37
r8 8.5.10
r8 8.5.27
r8 8.5.35
Options
Source code
HSPLProfileDemo;-><init>()V HSPLProfileDemo;->goToUri(Landroid/content/Context;Landroid/net/Uri;)V LProfileDemo;
Become a Patron
Sponsor on GitHub
Donate via PayPal
Source on GitHub
Mailing list
Installed libraries
Wiki
Report an issue
How it works
Contact the author
CE on Mastodon
About the author
Statistics
Changelog
Version tree