comparison src/share/vm/runtime/os.hpp @ 2260:850b2295a494

Merge
author kvn
date Mon, 14 Feb 2011 14:36:29 -0800
parents 63d374c54045 f7de3327c683
children 23ae54207126
comparison
equal deleted inserted replaced
2208:762bc029de50 2260:850b2295a494
557 static void free (void *memblock); 557 static void free (void *memblock);
558 static bool check_heap(bool force = false); // verify C heap integrity 558 static bool check_heap(bool force = false); // verify C heap integrity
559 static char* strdup(const char *); // Like strdup 559 static char* strdup(const char *); // Like strdup
560 560
561 #ifndef PRODUCT 561 #ifndef PRODUCT
562 static int num_mallocs; // # of calls to malloc/realloc 562 static julong num_mallocs; // # of calls to malloc/realloc
563 static size_t alloc_bytes; // # of bytes allocated 563 static julong alloc_bytes; // # of bytes allocated
564 static int num_frees; // # of calls to free 564 static julong num_frees; // # of calls to free
565 static julong free_bytes; // # of bytes freed
565 #endif 566 #endif
566 567
567 // SocketInterface (ex HPI SocketInterface ) 568 // SocketInterface (ex HPI SocketInterface )
568 static int socket(int domain, int type, int protocol); 569 static int socket(int domain, int type, int protocol);
569 static int socket_close(int fd); 570 static int socket_close(int fd);