jvm
How do Inner blocks in Java access local variables which are supposed to be out-of-scope? (How the JVM treats final local variables in Java)
In the following code: public class Main { Emp globalEmp; public void aMethod() { final int stackVar = 10; globalEmp = new Emp()[详细]
2023-04-05 23:55 分类:问答JVM stack introspection
Is there a way to inspect the contents of the stack (both in terms of the values and the type of the values, and the current instruction point) programmatically on the JVM (eve开发者_C百科n if it\'s v[详细]
2023-04-05 14:29 分类:问答The 4 minutes disappeared in jvm
I am using Eclipse Virgo to host my application. The application will write one log ever开发者_开发问答y 10 seconds.[详细]
2023-04-05 11:56 分类:问答How does JVM uniquely identify JSP's with same name in different folder across different applications
How does JVM uniquely identify JSP\'s with same name in different folder across different applications?[详细]
2023-04-05 08:20 分类:问答What's my JVM Heap Size?
How do I determine the JVM heap size default 开发者_运维问答values?? Note that I\'m not interested in setting or modifying its initial, minimum, or maximum size before/while running my application. I[详细]
2023-04-05 05:06 分类:问答When does 'Reference object' can be reclaimed?
Now, I met a strange case likes that: public class SoftRefDemo { private static List<SoftReference<String>> cache;[详细]
2023-04-04 23:11 分类:问答java debugging - watch an out of scope variable
When debugging a C/C++ application I can create a watch of an address cast to a pointer type and then view that contents of a structure even when it goes out of scope.Is it possible开发者_运维技巧 to[详细]
2023-04-04 22:51 分类:问答Can I auto restart tomcat jvm on out of memory exception
I know that this is not \"best practice\" but I would like to know if I can auto re开发者_运维知识库start tomcat if my deployed app throws an outofmemory exceptionYou can try to use the OnOutOfMemoryE[详细]
2023-04-04 19:19 分类:问答How do you intercept a keyboard interrupt (CTRL-C) in Jython?
This is what I\'ve tried... from sun.misc import Signal from sun.misc import SignalHandler class InterruptHandler(SignalHandler):[详细]
2023-04-04 18:58 分类:问答JVMTI agent crashes
I\'m working on implementation of eraser data-race detection algorithm as JVMTI agent. When I try to run some example inputs to test my code, the JVM crashes, with dumps like the following (may show o[详细]
2023-04-04 17:22 分类:问答