¡@

Home 

java Programming Glossary: optimisations

Performance ConcurrentHashmap vs HashMap

http://stackoverflow.com/questions/1378310/performance-concurrenthashmap-vs-hashmap

very costly and interfering with other possible optimisations . Even if all the overhead of atomic operations can be eliminated..

Why doesn't the JVM cache JIT compiled code?

http://stackoverflow.com/questions/1992486/why-doesnt-the-jvm-cache-jit-compiled-code

the link that @MYYN posted I suspect this is because the optimisations that the JVM performs are not static but rather dynamic based.. during the application's lifetime rendering the cached optimisations less than optimal. So you'd need a mechanism to establish whether.. So you'd need a mechanism to establish whether than saved optimisations were still optimal at which point you might as well just re..

Prime number calculation fun

http://stackoverflow.com/questions/288200/prime-number-calculation-fun

having some fun with optimising it. First attempt with no optimisations the above code has a couple ran around 52.6min to find the first..

Compiled vs. Interpreted Languages

http://stackoverflow.com/questions/3265357/compiled-vs-interpreted-languages

of the target machine Opportunity to apply quite powerful optimisations during the compile stage And here are the advantages of interpreted..

What is the “volatile” keyword used for?

http://stackoverflow.com/questions/3430757/what-is-the-volatile-keyword-used-for

of the program itself. The compiler will then avoid any optimisations that may result in problems if the variable changes outside..

When exactly do you use the volatile keyword in Java?

http://stackoverflow.com/questions/3488703/when-exactly-do-you-use-the-volatile-keyword-in-java

degradation because the compiler can't do reordering optimisations have to invalidate CPU cache etc. but then again the compiler..

Problems using Rhino on Android

http://stackoverflow.com/questions/3859305/problems-using-rhino-on-android

Escape analysis in Java

http://stackoverflow.com/questions/771430/escape-analysis-in-java

I know the JVM uses escape analysis for some performance optimisations like lock coarsening and lock elision. I'm interested if there..

Java multi-threading & Safe Publication

http://stackoverflow.com/questions/801993/java-multi-threading-safe-publication

a place where it's quite reasonable for compilers to make optimisations that could result in unexpected behaviour if you don't know..

How big is an object reference in Java and precisely what information does it contain?

http://stackoverflow.com/questions/981073/how-big-is-an-object-reference-in-java-and-precisely-what-information-does-it-co

other information such as its type which may allow some optimisations. See Tom's comment for more details. The object itself contains..