# escape analysis

Escape analysis is a Java HotSpot VM performance topic; partial escape analysis is a feature of the Graal compiler.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## ParparVM's object layout, compiler, and garbage collector changes reduce runtime overhead

DevFeed: [ParparVM's object layout, compiler, and garbage collector changes reduce runtime overhead](<https://devfeed.tech/articles/honey-i-shrunk-java-64209.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/parparvm-four-byte-header/>)

Author: Shai Almog

Published: 2026-10-03T00:00:00Z

Content type: article

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [Compiler](<https://devfeed.tech/topics/compiler.md>), [Java](<https://devfeed.tech/topics/java.md>), [openjdk](<https://devfeed.tech/topics/openjdk.md>), [escape analysis](<https://devfeed.tech/topics/escape-analysis.md>), [Project Leyden](<https://devfeed.tech/topics/project-leyden.md>), [subclass](<https://devfeed.tech/topics/subclass.md>)

Tags: [22](<https://devfeed.tech/tags/22.md>), [bytecode](<https://devfeed.tech/tags/bytecode.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [gc](<https://devfeed.tech/tags/gc.md>), [java](<https://devfeed.tech/tags/java.md>), [memory](<https://devfeed.tech/tags/memory.md>), [object](<https://devfeed.tech/tags/object.md>)

### AI overview

The article describes changes to ParparVM, a Java bytecode-to-C translator, and reports checked-in baselines showing faster self-translation and lower peak memory than JDK 25 on Linux ARM64. It explains compact object headers and field packing, compiler optimizations for collections and streams, and garbage collector changes. Results vary across workloads; allocation remains a weakness, and the performance figures are reference baselines rather than new measurements for the article.

### Source excerpt

ParparVM translates its compiler with 37.5% less time and 45.8% less peak memory in the Linux ARM64 baseline. See the object, compiler and GC changes behind it.

## Performance Improvements in JDK 27

DevFeed: [Performance Improvements in JDK 27](<https://devfeed.tech/articles/performance-improvements-in-jdk-27-60738.md>)

Original publisher: [Read original article](<https://inside.java/2026/09/28/performance-update-jdk27/>)

Author: Claes Redestad

Published: 2026-09-28T00:00:00Z

Content type: article

Language: en

Sources: [Inside Java](<https://devfeed.tech/sources/inside-java.md>)

Topics: [openjdk](<https://devfeed.tech/topics/openjdk.md>), [performance-optimization](<https://devfeed.tech/topics/performance-optimization.md>), [escape analysis](<https://devfeed.tech/topics/escape-analysis.md>), [RAID](<https://devfeed.tech/topics/raid.md>)

Tags: [compilation](<https://devfeed.tech/tags/compilation.md>), [garbage-collectors](<https://devfeed.tech/tags/garbage-collectors.md>), [graviton](<https://devfeed.tech/tags/graviton.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [jdk](<https://devfeed.tech/tags/jdk.md>), [jdk-27](<https://devfeed.tech/tags/jdk-27.md>), [jit](<https://devfeed.tech/tags/jit.md>), [locking](<https://devfeed.tech/tags/locking.md>), [openjdk](<https://devfeed.tech/tags/openjdk.md>), [optimizations](<https://devfeed.tech/tags/optimizations.md>), [performance](<https://devfeed.tech/tags/performance.md>)

### AI overview

JDK 27 includes more than 2,300 commits since JDK 26, covering libraries, garbage collectors, the JIT compiler, and runtime. Compact Object Headers are enabled by default, and G1 becomes the default garbage collector. The article reports local benchmark improvements for map-copying changes and a text-layout data-structure change, while noting that benchmark results do not predict whole-application impact and depend on workload and configuration.

### Source excerpt

Notable performance improvements in JDK27

## Solod 0.3: Concurrency, JSON, more safety

DevFeed: [Solod 0.3: Concurrency, JSON, more safety](<https://devfeed.tech/articles/solod-0-3-concurrency-json-more-safety-60424.md>)

Original publisher: [Read original article](<https://antonz.org/solod-0.3/>)

Author: Anton Zhiyanov

Published: 2026-07-25T11:30:00Z

Content type: release

Language: en

Sources: [Anton Zhiyanov](<https://devfeed.tech/sources/anton-zhiyanov.md>)

Topics: [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [C](<https://devfeed.tech/topics/c.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Code](<https://devfeed.tech/topics/code.md>), [JSON](<https://devfeed.tech/topics/json.md>), [data-processing](<https://devfeed.tech/topics/data-processing.md>), [escape analysis](<https://devfeed.tech/topics/escape-analysis.md>), [Memory Leaks](<https://devfeed.tech/topics/memory-leaks.md>)

Tags: [atomics](<https://devfeed.tech/tags/atomics.md>), [c](<https://devfeed.tech/tags/c.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [developers](<https://devfeed.tech/tags/developers.md>), [go](<https://devfeed.tech/tags/go.md>), [json](<https://devfeed.tech/tags/json.md>), [memory-management](<https://devfeed.tech/tags/memory-management.md>)

### AI overview

Solod 0.3 adds concurrency features to the Go subset that compiles to C, including OS threads, channels, worker pools, mutexes, and atomics. The release also introduces streaming JSON, safety checks, and tooling.

### Source excerpt

A strict subset of Go that translates to regular C.

## Inside Go -- Part 2: Memory Management in Go

DevFeed: [Inside Go -- Part 2: Memory Management in Go](<https://devfeed.tech/articles/inside-go-part-2-memory-management-in-go-39764.md>)

Original publisher: [Read original article](<https://furkankolcu.com/post/inside-go-part-2-memory-management-in-go>)

Author: Furkan Kolcu

Published: 2025-09-12T16:30:37Z

Content type: tutorial

Language: en

Sources: [Furkan Kolcu](<https://devfeed.tech/sources/furkan-kolcu-software-engineer-blog.md>)

Topics: [Go Language](<https://devfeed.tech/topics/go-language.md>), [escape analysis](<https://devfeed.tech/topics/escape-analysis.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>)

Tags: [compiler](<https://devfeed.tech/tags/compiler.md>), [escape-analysis](<https://devfeed.tech/tags/escape-analysis.md>), [garbage-collection](<https://devfeed.tech/tags/garbage-collection.md>), [go](<https://devfeed.tech/tags/go.md>), [go-memory-management](<https://devfeed.tech/tags/go-memory-management.md>), [golang](<https://devfeed.tech/tags/golang.md>), [heap](<https://devfeed.tech/tags/heap.md>), [memory](<https://devfeed.tech/tags/memory.md>), [memory-management](<https://devfeed.tech/tags/memory-management.md>), [performance](<https://devfeed.tech/tags/performance.md>), [stack](<https://devfeed.tech/tags/stack.md>), [technology](<https://devfeed.tech/tags/technology.md>)

### AI overview

This tutorial explains how Go manages memory through stack and heap allocation, escape analysis, and garbage collection. It also shows how compiler decisions affect performance and how to inspect escape analysis results.

### Source excerpt

A deep dive into how Go handles memory behind the scenes. Learn the difference between stack and heap, how escape analysis works, and why memory management plays a key role in performance.

## Inside Go -- How It Really Works: Series Kickoff

DevFeed: [Inside Go -- How It Really Works: Series Kickoff](<https://devfeed.tech/articles/inside-go-how-it-really-works-series-kickoff-39762.md>)

Original publisher: [Read original article](<https://furkankolcu.com/post/inside-go-how-it-really-works-series-kickoff>)

Author: Furkan Kolcu

Published: 2025-09-11T10:16:52Z

Content type: article

Language: en

Sources: [Furkan Kolcu](<https://devfeed.tech/sources/furkan-kolcu-software-engineer-blog.md>)

Topics: [Go Language](<https://devfeed.tech/topics/go-language.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [Code](<https://devfeed.tech/topics/code.md>), [Optimization](<https://devfeed.tech/topics/optimization.md>), [escape analysis](<https://devfeed.tech/topics/escape-analysis.md>), [generic programming](<https://devfeed.tech/topics/generic-programming.md>), [modules](<https://devfeed.tech/topics/modules.md>), [reproducible builds](<https://devfeed.tech/topics/reproducible-builds.md>)

Tags: [compilation](<https://devfeed.tech/tags/compilation.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [deep-dive](<https://devfeed.tech/tags/deep-dive.md>), [generics](<https://devfeed.tech/tags/generics.md>), [go](<https://devfeed.tech/tags/go.md>), [go-compiler](<https://devfeed.tech/tags/go-compiler.md>), [go-concurrency](<https://devfeed.tech/tags/go-concurrency.md>), [go-performance](<https://devfeed.tech/tags/go-performance.md>), [go-runtime](<https://devfeed.tech/tags/go-runtime.md>), [golang](<https://devfeed.tech/tags/golang.md>), [how-go-works](<https://devfeed.tech/tags/how-go-works.md>), [inside-go](<https://devfeed.tech/tags/inside-go.md>), [internals](<https://devfeed.tech/tags/internals.md>), [memory-management](<https://devfeed.tech/tags/memory-management.md>), [performance](<https://devfeed.tech/tags/performance.md>), [technology](<https://devfeed.tech/tags/technology.md>)

### AI overview

This article launches a technical series about how Go works internally. The planned installments cover compilation, memory management, garbage collection, concurrency, the runtime, performance tuning, interfaces, generics, modules, and reproducible builds, with code examples and runtime experiments.

### Source excerpt

A deep-dive series into Go's internals. From compilation to memory management, concurrency, and performance tuning, each part unpacks how Go operates under the hood with clear explanations and real-life code examples.

## This Month in Julia World (December 2024)

DevFeed: [This Month in Julia World (December 2024)](<https://devfeed.tech/articles/this-month-in-julia-world-december-2024-46348.md>)

Original publisher: [Read original article](<https://julialang.org/blog/2025/01/this-month-in-julia-world/index.html>)

Author: Stefan Krastanov

Published: 2025-01-01T00:00:00Z

Content type: article

Language: en

Sources: [JuliaLang - The Julia programming language](<https://devfeed.tech/sources/julialang-the-julia-programming-language.md>)

Topics: [The Julia Language](<https://devfeed.tech/topics/julia.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [escape analysis](<https://devfeed.tech/topics/escape-analysis.md>), [Benchmark](<https://devfeed.tech/topics/benchmark.md>), [Maintainers](<https://devfeed.tech/topics/maintainers.md>), [Release notes](<https://devfeed.tech/topics/release-notes.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [benchmarking](<https://devfeed.tech/tags/benchmarking.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [contributors](<https://devfeed.tech/tags/contributors.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [ecosystem](<https://devfeed.tech/tags/ecosystem.md>), [escape-analysis](<https://devfeed.tech/tags/escape-analysis.md>), [maintainers](<https://devfeed.tech/tags/maintainers.md>), [release-notes](<https://devfeed.tech/tags/release-notes.md>)

### AI overview

A December 2024 community newsletter covering developments in Julia internals and its ecosystem. It discusses improvements to escape analysis, experimental garbage collector support, interfaces and traits, package maintenance, registry release-note requirements, benchmarking, autodiff, documentation, and Julia applications in signal processing and real-time satellite control.

### Source excerpt

Community Newsletter for December 2024

## Interfaces 101 : Heap Escape Ep. 2

DevFeed: [Interfaces 101 : Heap Escape Ep. 2](<https://devfeed.tech/articles/interfaces-101-heap-escape-ep-2-22215.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2023/02/interfaces-101-heap-escape.html>)

Published: 2023-02-08T00:00:00Z

Content type: tutorial

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [interface](<https://devfeed.tech/topics/interface.md>), [Software](<https://devfeed.tech/topics/software.md>), [escape analysis](<https://devfeed.tech/topics/escape-analysis.md>), [inlining](<https://devfeed.tech/topics/inlining.md>), [Type Parameter](<https://devfeed.tech/topics/type-parameter.md>), [Type Argument](<https://devfeed.tech/topics/type-argument.md>), [data type](<https://devfeed.tech/topics/data-type.md>)

Tags: [benchmark](<https://devfeed.tech/tags/benchmark.md>), [build](<https://devfeed.tech/tags/build.md>), [escape-heap](<https://devfeed.tech/tags/escape-heap.md>), [go](<https://devfeed.tech/tags/go.md>), [golang](<https://devfeed.tech/tags/golang.md>), [heap](<https://devfeed.tech/tags/heap.md>), [inlining](<https://devfeed.tech/tags/inlining.md>), [interfaces](<https://devfeed.tech/tags/interfaces.md>), [log-variables](<https://devfeed.tech/tags/log-variables.md>), [optimizations](<https://devfeed.tech/tags/optimizations.md>), [performance](<https://devfeed.tech/tags/performance.md>), [struct](<https://devfeed.tech/tags/struct.md>), [variable](<https://devfeed.tech/tags/variable.md>), [variables](<https://devfeed.tech/tags/variables.md>)

### AI overview

The episode examines how Go interfaces can affect performance by causing a function variable to escape to the heap. Using a weather struct and a function returning it, Miki demonstrates benchmarking, compiler optimization output, and Go build flags for identifying heap allocations. It also covers function comments that prevent compiler inlining and notes that Go logging functions accept interface arguments to make them more universal. The excerpt describes the episode's planned topics but does not provide benchmark results or quantify performance costs.

### Source excerpt

Introduction In episode 1, Miki had two functions that performed the similar operation, but returned different types. To refactor this, Miki rewrote both functions as a generic function that allowed him to specify the type to be returned during invocation. In some cases, the compiler may not recognise a type, thus, Miki gives a few pointers on manually telling a generic function which type to use. After demonstrating how to return different types with a generic function, Miki limited the types his generic function would accept with an interface.

## Language Mechanics On Escape Analysis

DevFeed: [Language Mechanics On Escape Analysis](<https://devfeed.tech/articles/language-mechanics-on-escape-analysis-22124.md>)

Original publisher: [Read original article](<https://www.ardanlabs.com/blog/2017/05/language-mechanics-on-escape-analysis.html>)

Published: 2017-05-26T00:00:00Z

Content type: article

Language: en

Sources: [William Kennedy](<https://devfeed.tech/sources/william-kennedy.md>)

Topics: [escape analysis](<https://devfeed.tech/topics/escape-analysis.md>), [Programming Languages / Compilers](<https://devfeed.tech/topics/programming-languages-compilers.md>)

Tags: [ardan-labs](<https://devfeed.tech/tags/ardan-labs.md>), [blog](<https://devfeed.tech/tags/blog.md>), [code-analysis](<https://devfeed.tech/tags/code-analysis.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [escape-analysis](<https://devfeed.tech/tags/escape-analysis.md>), [gc](<https://devfeed.tech/tags/gc.md>), [go](<https://devfeed.tech/tags/go.md>), [go-programming](<https://devfeed.tech/tags/go-programming.md>), [golang](<https://devfeed.tech/tags/golang.md>), [goroutine](<https://devfeed.tech/tags/goroutine.md>), [heaps](<https://devfeed.tech/tags/heaps.md>), [latency](<https://devfeed.tech/tags/latency.md>), [memory](<https://devfeed.tech/tags/memory.md>), [pointers](<https://devfeed.tech/tags/pointers.md>), [programming](<https://devfeed.tech/tags/programming.md>)

### AI overview

The excerpt explains that Go's compiler uses static escape analysis to decide whether a value can live in its function's stack frame or must move to the heap; programmers cannot direct this choice with a keyword or function, but their coding patterns affect it. Stacks clean up as functions return, while heap values require garbage collection. The text says GC uses 25% of available CPU capacity when running and can cause microseconds of stop-the-world latency; more heap values that become unreferenced increase the collector's work. The excerpt begins a discussion of why goroutines cannot point into another goroutine's stack, but cuts off before explaining it.

### Source excerpt

Prelude This is the second post in a four part series that will provide an understanding of the mechanics and design behind pointers, stacks, heaps, escape analysis and value/pointer semantics in Go. This post focuses on heaps and escape analysis. Index of the four part series: Language Mechanics On Stacks And Pointers Language Mechanics On Escape Analysis Language Mechanics On Memory Profiling Design Philosophy On Data And Semantics Introduction In the first post in this four part series, I taught the basics of pointer mechanics by using an example in which a value was shared down a goroutine's stack. What I did not show you is what happens when you share a value up the stack. To understand this, you need to learn about another area of memory where values can live: the "heap". With that knowledge, you can then begin to learn about "escape analysis".