mirror of https://github.com/golang/go.git
792 B
792 B
Runtime
The message printed when a program exits due to an unhandled panic that was recovered and repanicked no longer repeats the text of the panic value.
Previously, a program which panicked with panic("PANIC"),
recovered the panic, and then repanicked with the original
value would print:
panic: PANIC [recovered]
panic: PANIC
This program will now print:
panic: PANIC [recovered, repanicked]
On Linux systems with kernel support for anonymous VMA names
(CONFIG_ANON_VMA_NAME), the Go runtime will annotate anonymous memory
mappings with context about their purpose. e.g., [anon: Go: heap] for heap
memory. This can be disabled with the GODEBUG setting
decoratemappings=0.