Search: 1 - 15 of 20 results for "Ben Evans"

Understanding Java method invocation with invokedynamic

The invokedynamic instruction added in Java 7 makes it possible to resolve method calls dynamically at runtime.

Inside the Language: Sealed Types

How Java is moving toward pattern matching, improved enums, and better switch statements

A peek into Java 17: Continuing the drive to encapsulate the Java runtime internals

The need to encapsulate the runtime is fundamentally caused by Java’s nature as an open programming environment.

The Unsafe Class: Unsafe at Any Speed

Just because you can break the rules, doesn’t mean you should break the rules—unless you have a good reason.

Real-World Bytecode Handling with ASM

Scan, inspect, generate, and transform bytecodes on the fly with the ASM library.

Modern file input/output with the Java Path API and Files helper methods

They’ve been around since Java 7, but not everyone knows how to use the NIO.2 file I/O facilities.

Mastering the mechanics of Java method invocation

Special bytecodes make calling methods particularly efficient. Knowing how they operate reveals how the JVM executes your code.

Behind the scenes: How do lambda expressions really work in Java?

Look into the bytecode to see how Java handles lambdas.

Java Flight Recorder and JFR Event Streaming in Java 14

Get a stream of high-volume data points about your running app.

Going inside Java’s Project Loom and virtual threads

See how virtual threads bring back the old days of Java’s green threads—that is, Java threads not tied to operating-system threads.

Records Come to Java

A first look at how Java 14’s data records will change the way you code

The best of 2020: The 10 most popular Java Magazine articles

Read them, reread them, share them.

10 good reads from the Java Magazine archives

For years, some important articles have not been available on the magazine website. They are now.

Ripe for the picking: 11 essential Java features to help modernize your code

Use these Java language improvements to make your code easier to write, read, and maintain.

Java 14 Arrives with a Host of New Features

Java 14 contains more new features than the previous two releases—most of them aimed at easing coding.

Escape Analysis in the HotSpot JIT Compiler

Complex analysis of variables’ scope enables a variety of subtle optimizations.

The best HotSpot JVM options and switches for Java 11 through Java 17

The JDK defaults for HotSpot are great, but sometimes you want to tinker.

From the vector API to records to elastic metaspace, there’s a lot packed into Java 16

The Java Champions say these are a few of their favorite things.

Quiz yourself: Security threats and malicious code modifications

Here’s what happens when good code meets bad people.

Loop Unrolling

An elaborate mechanism for reducing loop iterations improves performance but can be thwarted by inadvertent coding.