jvm-hotspot
Conditional JIT-compilation
In Java we can do conditional compilation like so p开发者_如何学JAVArivate static final boolean DO_CHECK = false;[详细]
2023-01-15 08:10 分类:问答ASP.NET / .net newbie question - Java Hotspot equivalent?
I\'m an experienced java dev who is starting to learn the .net side of things, and was going to pick up a asp.net project as my area to begin(so I can compare to grails, spring mvc etc)[详细]
2023-01-09 14:54 分类:问答Java VM tuning - Xbatch and -Xcomp
I am looking at the JVM configuration options for running Alfresco, mainly this document on the Alfresco Wiki. One of the recommendations is to use the JVM flags -Xcomp and -Xbatch. The justification[详细]
2023-01-09 07:09 分类:问答Bitwise AND (&) expression in Java
I am debugging code that has in it expr1 & expr2 where expr1 has a side effect that affects expr2 evaluation result. I suspect that expr2 gets evaluated before expr1, since JLS guarantees left-to-[详细]
2023-01-09 06:51 分类:问答How does Java standard libraries comunicate with native code?
Do they use something like Mono\'s PInvoke? Or is it more like internal calls registered before the runtime is started? Does java have a base library for handling native calls like mscorlib.开发者_开发[详细]
2023-01-07 14:08 分类:问答java PrintCompilation output: what's the meaning of "made not entrant" and "made zombie"
When running a Java 1.6 (1.6.0_03-b05) app I\'ve added the -XX:+PrintCompilation flag. On the output for some methods, in particular some of those that I know are getting called a lot, I see the text[详细]
2023-01-02 00:11 分类:问答Java execution details in System.out
As I remember there is a magic command line option in Java that turns on writing of operations that are currently executed to the console. The output looks like byte code.[详细]
2023-01-01 11:28 分类:问答What are the differences in JIT between Java and .Net
I know Microsoft .NET uses the 开发者_运维技巧CLR as a JIT compiler while Java has the Hotspot. What Are the differences between them?They are very different beasts. As people pointed out, the CLR com[详细]
2022-12-23 19:19 分类:问答execute new java code in existing jvm process
I have a java process currently running under a windows shell. One of the threads res开发者_高级运维ponsible for serialisation is blocked indefinitely and as a result important information which is s[详细]
2022-12-17 20:08 分类:问答What do -XX:-PrintGC and XX:-PrintGCDetails flags do?
I found the JVM flags here. Is开发者_运维百科 there a more detailed explaination of what exactly they do?Rather on Sun\'s, use -Xloggc:gc.log to log to a file, -verbose:gc is also a common switch for[详细]
2022-12-13 06:00 分类:问答