Skip to content

Instantly share code, notes, and snippets.

View StephanDollberg's full-sized avatar

Stephan Dollberg StephanDollberg

View GitHub Profile
before
done
==17872==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7fff058e0000; bottom 0x631000022000; size:
0x1cef058be000 (31812915814400)
False positive error reports may follow
For details see https://github.com/google/sanitizers/issues/189
excep handler
before
================
@StephanDollberg
StephanDollberg / io_context_latency.cpp
Last active October 27, 2019 11:46
io_context poll latency
#include <iostream>
#include <chrono>
#include <boost/asio/io_context.hpp>
#include <boost/asio/spawn.hpp>
#include <boost/asio/steady_timer.hpp>
int main(int argc, char* argv[])
{
boost::asio::io_context io_context(BOOST_ASIO_CONCURRENCY_HINT_1);
@StephanDollberg
StephanDollberg / lambda_size.cpp
Last active October 27, 2019 17:33
lambda size
#include <cstdio>
int main() {
int x = 23;
int y = 45;
auto l1 = [] () {
std::printf("l1\n");
};
@StephanDollberg
StephanDollberg / O1 assembly
Last active January 16, 2023 22:34
AtomicArrayUpdater bug
O1
263136 0000000000519690 <aeron::concurrent::AtomicArrayUpdater<long>::load() const>:
263137 519690: 55 push rbp
263138 519691: 48 89 e5 mov rbp,rsp
263139 519694: 41 57 push r15
263140 519696: 41 56 push r14
263141 519698: 53 push rbx
263142 519699: 50 push rax
263143 51969a: 4c 8d 4f 08 lea r9,[rdi+0x8]
#include <cstddef>
#include <utility>
#include <atomic>
#include <thread>
#include <iostream>
namespace aeron
{
@StephanDollberg
StephanDollberg / cluster-upgrade-analysis.md
Created March 13, 2026 11:49
Cluster cjk99o0a3v32vef0rqtg upgrade analysis: v25.3.10 → v26.1.1-rc2 (March 11, 2026)

Cluster cjk99o0a3v32vef0rqtg Upgrade Analysis

Cluster: cjk99o0a3v32vef0rqtg (preprod) Upgrade: v25.3.10 → v26.1.1-rc2 Date: March 11, 2026 ~14:42-14:45 UTC


Upgrade Timeline