Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7539441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T07:22:56+00:00 2026-05-30T07:22:56+00:00

We face some issues with real time clock (RTC) batteries. These are usually old

  • 0

We face some issues with real time clock (RTC) batteries. These are usually old and sometimes one of them dies… or just gets weaker. It’s not really predictable. Whether it’s triggered by a motherboard malfunction, humidity, its age or whatever, it happens. We can replace them, or change the computer but that’s not the matter here.

That’d be very nice if someone knows if failure of the RTC could affect the following functions:

public static native void sleep(long millis) throws InterruptedException;
public final native void wait(long timeout) throws InterruptedException;
public native void park(boolean paramBoolean, long paramLong);

park is in sun.misc.Unsafe

The behavior of these functions probably depends on the operating system and hardware components but it could be… nearly anything. All I know is that it’s a PC, running Windows (XP or later) and using the standard 1.6 JVM. The computer could be up to 10 years old.

I had a look at the open JDK and found that sleep(long millis) is going to WaitForMultipleObjects.
Absolutely no idea on park(boolean paramBoolean, long paramLong) and I got lost trying to understand what’s going on with wait(long timeout).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T07:22:58+00:00Added an answer on May 30, 2026 at 7:22 am

    Easy test. Go to sleep for ten minutes then immediately put the clock forward an hour and see if it wakes up before the full ten minutes is done. That’s probably a damn sight easier than ferreting around in the JDK internals 🙂

    But I’ve got to say it. Developers shouldn’t be using ten-year-old hardware and they especially shouldn’t be using faulty hardware.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As the question says, what are some common/major issues that C++ programmers face when
I work at a site that passed through some face lifts. In time the
can some one explain why I face problem with backgroundworker backgroundWorker1_RunWorkerCompleted works just fine
I do some stuff with XMLSerializer class. Like a most of beginners I face
sometimes i face the following case in my database design,, i wanna to know
I'd like to have some help on an issue I face. I'm using serialization
I am having some issues with WPF not fully repainting a button control when
I face a problem when I try to get value from primary table in
I face troubles accessing my website deployed on Websphere Application Server 6.0 when I
I face the following problem function book($memberid, $classid){ if (!book){ // update the db

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.