comparison src/share/vm/runtime/os.hpp @ 6988:2cb439954abf

Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author Gilles Duboscq <duboscq@ssw.jku.at>
date Mon, 19 Nov 2012 15:36:13 +0100
parents e522a00b91aa 6cb0d32b828b
children 989155e2d07a
comparison
equal deleted inserted replaced
6963:dd0dd0321e2a 6988:2cb439954abf
477 477
478 static const char* get_temp_directory(); 478 static const char* get_temp_directory();
479 static const char* get_current_directory(char *buf, int buflen); 479 static const char* get_current_directory(char *buf, int buflen);
480 480
481 // Builds a platform-specific full library path given a ld path and lib name 481 // Builds a platform-specific full library path given a ld path and lib name
482 static void dll_build_name(char* buffer, size_t size, 482 // Returns true if buffer contains full path to existing file, false otherwise
483 static bool dll_build_name(char* buffer, size_t size,
483 const char* pathname, const char* fname); 484 const char* pathname, const char* fname);
484 485
485 // Symbol lookup, find nearest function name; basically it implements 486 // Symbol lookup, find nearest function name; basically it implements
486 // dladdr() for all platforms. Name of the nearest function is copied 487 // dladdr() for all platforms. Name of the nearest function is copied
487 // to buf. Distance from its base address is returned as offset. 488 // to buf. Distance from its base address is returned as offset.