MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / initializer

Function initializer

vm/ByteCodeTranslator/src/malloc.c:59–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57static int is_initialized;
58
59static void
60initializer(void) {
61 if (!is_initialized) {
62 is_initialized = 1;
63 SYSTEM_INFO system_info;
64 memset(&system_info, 0, sizeof(system_info));
65 GetSystemInfo(&system_info);
66 page_size = system_info.dwPageSize;
67 rpmalloc_initialize();
68 }
69 rpmalloc_thread_initialize();
70}
71
72static void
73finalizer(void) {

Callers 7

callocFunction · 0.85
mallocFunction · 0.85
reallocFunction · 0.85
vallocFunction · 0.85
aligned_allocFunction · 0.85
memalignFunction · 0.85
posix_memalignFunction · 0.85

Calls 3

rpmalloc_initializeFunction · 0.85
pthread_key_createFunction · 0.85

Tested by

no test coverage detected