article thumbnail

The Return of the Frame Pointers

Brendan Gregg

2014: Java in Flames Broken Java Stacks (2014) When I joined Netflix in 2014, I found Java's lack of frame pointer support broke all application stacks (pictured in my 2014 Surge talk on the right). Java, for example, has the -XX:+PreserveFramePointer option.

Java 145
article thumbnail

C++ safety, in context

Sutter's Mill

I chair the ISO C++ standards committee and I work for Microsoft, but these are my personal opinions and I hope they will invite more dialog across programming language and security communities. When I say “safety” unqualified here, I mean programming language safety, which benefits both software security and software safety.

C++ 139
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

The Speed of Time

Brendan Gregg

These strange questions came to the fore back in 2014 when Netflix was switching services from CentOS Linux to Ubuntu, and I helped debug several weird performance issues including one I'll describe here. Was there some other program consuming CPU, like a misbehaving Ubuntu service that wasn't in CentOS? How would you _time_ time?

Speed 126
article thumbnail

Advent Calendars For Web Designers And Developers (December 2021 Edition)

Smashing Magazine

JVM Programming Advent Calendar. The Java Advent 2021 is here! The project started in 2012 with the idea of providing technical content during the Christmas Advent period, so keep looking for nice things under the Java Christmas tree! Amy Dutton on Twitter. If you prefer a puzzle over an article, take a look at Advent of Code.

Design 108
article thumbnail

The Speed of Time

Brendan Gregg

These strange questions came to the fore back in 2014 when Netflix was switching services from CentOS Linux to Ubuntu, and I helped debug several weird performance issues including one I'll describe here. Was there some other program consuming CPU, like a misbehaving Ubuntu service that wasn't in CentOS?

Speed 52
article thumbnail

The Speed of Time

Brendan Gregg

These strange questions came to the fore back in 2014 when Netflix was switching services from CentOS Linux to Ubuntu, and I helped debug several weird performance issues including one I'll describe here. Was there some other program consuming CPU, like a misbehaving Ubuntu service that wasn't in CentOS? How would you _time_ time?

Speed 40
article thumbnail

Coloring Flame Graphs: Code Hues

Brendan Gregg

In late 2014 I was modifying the JDK to preserve the frame pointer so that traditional stack walkers and profilers would work (an example of the problem is here , where Java methods lack ancestry). After I fixed the frame pointer, profiling Java looked like this ( SVG ): It worked! Sometimes the profiled Java symbols use "."

Code 40