Remove c
article thumbnail

C++ safety, in context

Sutter's Mill

To talk about C++’s current safety problems and solutions well, I need to include the context of the broad landscape of security and safety threats facing all software. tl;dr: I don’t want C++ to limit what I can express efficiently. tl;dr: I don’t want C++ to limit what I can express efficiently. issues with C++.

C++ 139
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

Analyzing a High Rate of Paging

Brendan Gregg

Hit Ctrl-C to end. ^C C msecs : count distribution 0 -> 1 : 83 | | 2 -> 3 : 20 | | 4 -> 7 : 0 | | 8 -> 15 : 41 | | 16 -> 31 : 1620 | * | 32 -> 63 : 8139 | *| 64 -> 127 : 176 | | 128 -> 255 : 95 | | 256 -> 511 : 61 | | 512 -> 1023 : 93 | |. . ## 4. Hit Ctrl-C to end. ^C 41 33681 ^C. Tracing block device I/O.

Cache 105
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. Maybe Java is calling it more often for some reason.

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. 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 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
article thumbnail

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

Smashing Magazine

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! ??. C# Advent Calendar. It’s time for the fifth annual C# advent calendar that will feature two pieces of content every day.

Design 108