Results 1 to 3 of 3

Thread: VM Thread Scheduling

  1. #1

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418

    VM Thread Scheduling

    Just want to confirm some information. From what i remember Windows VM's use preemptive thread scheduling, Mac's cooperative thread scheduling. Now here is where i am hazy. Unix uses a combination of bolth. From what i have read the green thread model for Solaris uses cooperative thread scheduling and i guess any other preemptive. But how do you know which one the VM you have uses?

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Doesn't the JVM do its own thread scheduling? Cooperative scheduling wouldn't work in Java anyway.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    Yes of course the VM does it's own thread scheduling.
    On all VM's preemptive scheulding is used for threads of different priorities. Now depending on the VM, cooperative scheduling will be used for threads of the same priority or preemptive scheduling will be used.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width