hotspot/src/os/linux/vm/os_linux.cpp
changeset 6962 d49132ce025b
parent 6420 a4205fed5b18
child 6964 6e45ffa3bccf
equal deleted inserted replaced
6474:5ef5663b9cac 6962:d49132ce025b
     1 /*
     1 /*
     2  * Copyright (c) 1999, 2009, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
  4837     return;
  4837     return;
  4838   }
  4838   }
  4839 
  4839 
  4840   // Next, demultiplex/decode time arguments
  4840   // Next, demultiplex/decode time arguments
  4841   timespec absTime;
  4841   timespec absTime;
  4842   if (time < 0) { // don't wait at all
  4842   if (time < 0 || (isAbsolute && time == 0) ) { // don't wait at all
  4843     return;
  4843     return;
  4844   }
  4844   }
  4845   if (time > 0) {
  4845   if (time > 0) {
  4846     unpackTime(&absTime, isAbsolute, time);
  4846     unpackTime(&absTime, isAbsolute, time);
  4847   }
  4847   }