Re: [PATCH] initialize fde objects lazily

2022-12-16 Thread Jason Merrill via Gcc-patches
On 12/9/22 12:34, Thomas Neumann wrote: When registering an unwind frame with __register_frame_info_bases we currently initialize that fde object eagerly. This has the advantage that it is immutable afterwards and we can safely access it from multiple threads, but it has the disadvantage that we

RE: [PATCH] initialize fde objects lazily

2022-12-15 Thread Tamar Christina via Gcc-patches
.gnu.org > Cc: H.J. Lu ; Jakub Jelinek ; > Tamar Christina ; Jason Merrill > ; Jonathan Wakely ; Florian > Weimer > Subject: [PATCH] initialize fde objects lazily > > When registering an unwind frame with __register_frame_info_bases we > currently initialize that fde object

[PATCH] initialize fde objects lazily

2022-12-09 Thread Thomas Neumann via Gcc-patches
When registering an unwind frame with __register_frame_info_bases we currently initialize that fde object eagerly. This has the advantage that it is immutable afterwards and we can safely access it from multiple threads, but it has the disadvantage that we pay the initialization cost even if the a