diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-02-14 12:34:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-14 12:34:25 +0100 |
commit | 6201fe1acee27be9b17316ed2435ee957edb39c8 (patch) | |
tree | f988ff4eff8753afe6f45839b1965c039d7283cb /dist | |
parent | 5801965bda9cdcf2c12750c036eff2aae375d3e4 (diff) | |
parent | b1267983c64439a754ca807fd758ef125cf67d44 (diff) |
Merge pull request #26019 from vespa-engine/balder/gc-timedout-optimization
Balder/gc timedout optimization
Diffstat (limited to 'dist')
-rw-r--r-- | dist/patch.stl_vector.h.diff | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dist/patch.stl_vector.h.diff b/dist/patch.stl_vector.h.diff new file mode 100644 index 00000000000..e2474c3a32b --- /dev/null +++ b/dist/patch.stl_vector.h.diff @@ -0,0 +1,30 @@ +--- /opt/rh/gcc-toolset-12/root/usr/include/c++/12/bits/stl_vector.h 2022-09-14 17:00:12.000000000 +0000 ++++ ./stl_vector.h 2023-02-10 13:24:44.885703192 +0000 +@@ -1814,10 +1814,10 @@ + #if __cplusplus < 201103L + // Called by insert(p,x) + void +- _M_insert_aux(iterator __position, const value_type& __x); ++ _M_insert_aux(iterator __position, const value_type& __x) __attribute((noinline)); + + void +- _M_realloc_insert(iterator __position, const value_type& __x); ++ _M_realloc_insert(iterator __position, const value_type& __x) __attribute((noinline)); + #else + // A value_type object constructed with _Alloc_traits::construct() + // and destroyed with _Alloc_traits::destroy(). +@@ -1860,12 +1860,12 @@ + template<typename _Arg> + _GLIBCXX20_CONSTEXPR + void +- _M_insert_aux(iterator __position, _Arg&& __arg); ++ _M_insert_aux(iterator __position, _Arg&& __arg) __attribute((noinline)); + + template<typename... _Args> + _GLIBCXX20_CONSTEXPR + void +- _M_realloc_insert(iterator __position, _Args&&... __args); ++ _M_realloc_insert(iterator __position, _Args&&... __args) __attribute((noinline)); + + // Either move-construct at the end, or forward to _M_insert_aux. + _GLIBCXX20_CONSTEXPR |