Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/os.hpp @ 242:d95b224e9f17
6721093: -XX:AppendRatio=N not supported
Summary: Add mechanism to ignore unsupported flags for a set period of time
Reviewed-by: acorn, never, coleenp
author | kamg |
---|---|
date | Mon, 28 Jul 2008 14:07:44 -0400 |
parents | 1fdb98a17101 |
children | 1ee8caae33af |
comparison
equal
deleted
inserted
replaced
237:1fdb98a17101 | 242:d95b224e9f17 |
---|---|
388 static const char* dll_file_extension(); | 388 static const char* dll_file_extension(); |
389 | 389 |
390 static const char* get_temp_directory(); | 390 static const char* get_temp_directory(); |
391 static const char* get_current_directory(char *buf, int buflen); | 391 static const char* get_current_directory(char *buf, int buflen); |
392 | 392 |
393 // Builds a platform-specific full library path given a ld path and lib name | |
394 static void dll_build_name(char* buffer, size_t size, | |
395 const char* pathname, const char* fname); | |
396 | |
393 // Symbol lookup, find nearest function name; basically it implements | 397 // Symbol lookup, find nearest function name; basically it implements |
394 // dladdr() for all platforms. Name of the nearest function is copied | 398 // dladdr() for all platforms. Name of the nearest function is copied |
395 // to buf. Distance from its base address is returned as offset. | 399 // to buf. Distance from its base address is returned as offset. |
396 // If function name is not found, buf[0] is set to '\0' and offset is | 400 // If function name is not found, buf[0] is set to '\0' and offset is |
397 // set to -1. | 401 // set to -1. |
410 | 414 |
411 // Loads .dll/.so and | 415 // Loads .dll/.so and |
412 // in case of error it checks if .dll/.so was built for the | 416 // in case of error it checks if .dll/.so was built for the |
413 // same architecture as Hotspot is running on | 417 // same architecture as Hotspot is running on |
414 static void* dll_load(const char *name, char *ebuf, int ebuflen); | 418 static void* dll_load(const char *name, char *ebuf, int ebuflen); |
419 | |
420 // lookup symbol in a shared library | |
421 static void* dll_lookup(void* handle, const char* name); | |
415 | 422 |
416 // Print out system information; they are called by fatal error handler. | 423 // Print out system information; they are called by fatal error handler. |
417 // Output format may be different on different platforms. | 424 // Output format may be different on different platforms. |
418 static void print_os_info(outputStream* st); | 425 static void print_os_info(outputStream* st); |
419 static void print_cpu_info(outputStream* st); | 426 static void print_cpu_info(outputStream* st); |