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 7161567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:35:18+00:00 2026-05-28T13:35:18+00:00

I cam across a Java related question recently that was (to paraphrase): What reasons

  • 0

I cam across a Java related question recently that was (to paraphrase):

  1. What reasons are there that a Java application might run at a reasonable speed on Operating System A, but sluggishly slow on Operating System B?

  2. What could a programmer do to rectify this problem?

My response would be (I know I’m wrong, but I’ll explain my thought process)

(1) an application should run at more or less the same speed on any Operating System with a JVM, since the application is run inside the virtual machine. As long as the VM is designed correctly it shouldn’t matter.

(2)uhh..

My question is: what would be a correct answer to this question?

  • 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-28T13:35:19+00:00Added an answer on May 28, 2026 at 1:35 pm

    It’s all about implementation.

    The problem is that the JVM is itself a program which runs natively on the host operating system and is responsible for implementing the Java libraries conforming to the language and library specifications. This implementation requires managing system resources (such as files, threads, sockets, etc.) and each operating system likely has its own “best practices” regarding the management of those resources, which may not necessarily align with the design of the various Java specs. Moreover, the operating system itself implements the interfaces to those system resources and its implementation might not be as robust as on other OSes.

    For example, years ago, the Linux thread implementation was considerably less performant than the same POSIX thread APIs on similar UNIX OSes (e.g. Solaris, AIX, etc). So a JVM running on a Linux machine would have the same functionality as one on a Solaris machine but the Linux JVM would be hindered by the (then) less-than-excellent thread implementation on that OS.

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

Sidebar

Related Questions

Recently i cam across a statements : import static java.lang.System.out; import static java.lang.System.exit; I
I cam across this recently : here public int print(Graphics g, PageFormat pf, int
I spend a lot of time debugging code for a CAD/CAM application. There are
when reading a python ndb api of google app engine, I cam across this
I have a web cam that takes a picture every N seconds. This gives
I have written code in Java to access web cam,and to save image... I
Can I stream a live video in WPF application from my web cam? If
I need to integrate the Web cam to the application. I need to take
I cam across the following function in javascript: for (var number = 0; number
I was working on my website when I cam across this problem, I have

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.