Mercurial > hg > graal-compiler
diff src/os/linux/vm/os_linux.cpp @ 342:37f87013dfd8
6711316: Open source the Garbage-First garbage collector
Summary: First mercurial integration of the code for the Garbage-First garbage collector.
Reviewed-by: apetrusenko, iveresov, jmasa, sgoldman, tonyp, ysr
author | ysr |
---|---|
date | Thu, 05 Jun 2008 15:57:56 -0700 |
parents | fcbfc50865ab |
children | 69fefd031e6c |
line wrap: on
line diff
--- a/src/os/linux/vm/os_linux.cpp Wed Jun 04 13:51:09 2008 -0700 +++ b/src/os/linux/vm/os_linux.cpp Thu Jun 05 15:57:56 2008 -0700 @@ -1261,6 +1261,17 @@ return (1000 * 1000); } +// For now, we say that linux does not support vtime. I have no idea +// whether it can actually be made to (DLD, 9/13/05). + +bool os::supports_vtime() { return false; } +bool os::enable_vtime() { return false; } +bool os::vtime_enabled() { return false; } +double os::elapsedVTime() { + // better than nothing, but not much + return elapsedTime(); +} + jlong os::javaTimeMillis() { timeval time; int status = gettimeofday(&time, NULL);