article thumbnail

The Return of the Frame Pointers

Brendan Gregg

Apart from library code, maybe your application doesn't have frame pointers either, in which case everything is broken. Only in extreme circumstances does the cost (in processor time and I-cache footprint) translate to a tangible benefit - circumstances which usually resort to hand-coded assembly anyway.

Java 145
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. There's no Java stack—there should be a tower of green Java methods—instead there's only a single green frame or two.

Speed 126
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

Side Projects Make You Better At Your Full Time Job

Professor Beekums

In 2014, I had been hearing a lot of talk about Go. Having learned to code in Java and spending my early career working in Java, I was used to complex inheritence hierarchies and many many layers of abstraction. It sounded like a really exciting language that I wanted to try. My gut reaction was to dismiss it.

Java 55
article thumbnail

C++ safety, in context

Sutter's Mill

Many of the most damaging recent security breaches happened to code written in MSLs (e.g., We can and do write “good” code and secure applications in C++. And getting that last 2% would be too costly , because it would require giving up on link compatibility and seamless interoperability (or “interop”) with today’s C++ code.

C++ 139
article thumbnail

Coloring Flame Graphs: Code Hues

Brendan Gregg

I recently improved flame graph code coloring. Code-type coloring was a regex hack that took five minutes. 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). start_thread.

Code 40
article thumbnail

A look behind the scenes of AWS Lambda and our new Lambda monitoring extension

Dynatrace

Since its introduction by AWS in 2014, AWS Lambda has revolutionized the compute space and boosted the entire serverless movement. Dynatrace has offered a Lambda code module for Node.js Dynatrace has offered a Lambda code module for Node.js A small memory footprint. A fast cold start.

Lambda 224
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. This is how Java flame graphs looked at the time. How long does it take to read the time? How would you time time?

Speed 52