Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Classic, Hotspot, native, green

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

1. What's the difference between classic and hotspot ?
2. What's the difference between native and green threads ?
3. How do classic and hotspot fit with native and green threads ?
 
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1. What's the difference between classic and hotspot ?
Classic: This is a normal byte-code interpretation to native call.
HotSpot: This is for increasing the java run time performance. This is another JVM option. This would keep looking for classes, methods which are called frequently and compile them ready on hand (so many methods are there like compiling, code inline etc.) so that the run-time performance would increase
2. What's the difference between native and green threads ?
Native threads are OS dependent; the OS does the scheduling for the threads. Takes the advantage of multi-processing system.

Green threads are user threads; the JVM should take care of scheduling the threads (the other thread gets the chance for execution if only the prev. thread yields, sleeps, waits). Does not take the advantage of multi-processing system.

3. How do classic and hotspot fit with native and green threads ?
classic and hotspot are only JVM options; I don't think there is any relation between these.

Thanks,
Guru
 
Just let me do the talking. Ahem ... so ... you see ... we have this tiny ad...
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic