libreoffice/sal/inc/rtllifecycle.h
Stephan Bergmann df6ba65046 Remove "officially dead now" rtl_cache slab allocator mechanism
...after <https://gerrit.libreoffice.org/#/c/58263/> "the custom SAL allocator
is no longer used" got merged.  According to my July 31, 2018 comment there:

"However, [...] this change is effectively a final coffin nail for the
'rtl_cache' mechanism.  It could be argued that the alleged benefits of that
mechanism (if it were still working) might be real (at least on some platforms;
which would need measurements), and that it should be made working again (by
reverting the effects of both ce906b8096081dee15dc8cc96e570d5b0b587955 'skip
tricky allocators on G_SLICE=always-malloc' and
bc6a5d8e79e7d0e7d75ac107aa8e6aa275e434e9 'Disable custom allocator' on
rtl_cache_alloc/free again).  But it could just as well be argued that the
'rtl_cache' mechanism is effectively gone for long enough now (since end of
November, 2017, with bc6a5d8e79e7d0e7d75ac107aa8e6aa275e434e9 'Disable custom
allocator') without any (apparent) negative consequences, so that it can be
removed for good with this change."

Change-Id: I8c1e45d494fc22555a9e675ab27be9e6e404abde
Reviewed-on: https://gerrit.libreoffice.org/58369
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-08-01 00:30:17 +02:00

42 lines
853 B
C

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_SAL_INC_INTERNAL_RTLLIFECYCLE_H
#define INCLUDED_SAL_INC_INTERNAL_RTLLIFECYCLE_H
#if defined __cplusplus
extern "C" {
#endif
void rtl_arena_init(void);
void rtl_arena_fini(void);
void ensureArenaSingleton(void);
void rtl_cache_init(void);
void rtl_cache_fini(void);
void ensureCacheSingleton(void);
void rtl_locale_init(void);
void rtl_locale_fini(void);
void ensureLocaleSingleton(void);
#if defined __cplusplus
}
#endif
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */