< prev index next >
src/hotspot/share/runtime/os.hpp
Print this page
rev 52814 : 8214773: Replace use of thread unsafe strtok
Reviewed-by:
*** 733,742 ****
--- 733,744 ----
static void free (void *memblock);
static char* strdup(const char *, MEMFLAGS flags = mtInternal); // Like strdup
// Like strdup, but exit VM when strdup() returns NULL
static char* strdup_check_oom(const char*, MEMFLAGS flags = mtInternal);
+ static char* strtok(char *str, const char *delim, char **saveptr);
+
#ifndef PRODUCT
static julong num_mallocs; // # of calls to malloc/realloc
static julong alloc_bytes; // # of bytes allocated
static julong num_frees; // # of calls to free
static julong free_bytes; // # of bytes freed
< prev index next >