Tech News
← Home  ·  All topics

Go Runtime

2 GoKawiil briefs on this topic

Go 1.27 speeds small heap allocations via size-specialized functions

Go 1.27 introduces specialized memory allocation functions for objects of 80 bytes or smaller, tailored to the runtime's existing size-class system. These functions handle specific size classes and pointer/non-pointer distinctions, letting the compiler skip generic branching logic used in the shared mallocgc path.

Researchers trace rare Go runtime crash to epoll bug on 32-bit ARM Linux

A security research team investigated repeated crashes in a customer's Go application running on embedded 32-bit ARM Linux systems, which failed with a fatal 'netpoll: eventfd ready for something unexpected' error after long uptimes. Tracing the fault into Go's netpoll_epoll.go code, they found it matched a previously reported but unresolved issue in the Go project's issue tracker involving epoll reporting more than the expected EPOLLIN event.