Questions tagged as 'jvm'

2
answers

How to know the size of an object in memory?

I'm not behind a method / operator sizeof because I already understand that JAVA does not have this, but I need some way to measure at least on average how much an object spends from memory, even if it's using some kind of debug.     
asked by 12.06.2017 / 13:30
1
answer

JVM. What is the difference between Metaspace and Permgen?

What is the difference between Metaspace and Permgen? I've been trying to understand for a while, could you help?     
asked by 22.06.2015 / 15:48
1
answer

What is the constant pool in Java?

I'm reading the Java Virtual Machine Specification to dig a little deeper and I did not quite understand what the constant pool table is. For example, when speaking of the run-time constant pool the specification quotes this table:    A run-t...
asked by 29.07.2016 / 17:10
1
answer

Project Nashorn, javascript + java?

I found the approach interesting after studying deeper education bytecode InvokeDynamic . But I have doubts about the design and practical use. Will the javac natively understand the javascript block and will it generate the bytecode from...
asked by 27.06.2015 / 23:06
2
answers

How do I disable JVM hostnames?

An application is trying to access a remote EJB. Regardless of whether the configuration uses the servidor.empresa.com.br address or an IP to access the service, an error occurs: weblogic.utils.NestedError: This address was valid earlie...
asked by 13.12.2013 / 17:46
1
answer

Are methods and constructors the same thing?

Some sources say that constructor is a special type of method, while others say that constructors are not methods. Some people also say that although they are different from the JVM, they treat them the same way. After all, is a constructor a ty...
asked by 19.02.2016 / 19:20
1
answer

How to disable Java automatic updating?

How to disable Java 7 64-bit upgrade? I entered the Java control panel and the update tab does not appear. Note: I can not update my version.     
asked by 28.11.2014 / 12:38
1
answer

Relationship between HotSpot and JVM, JDK / OpenJDK?

What is Java HotSpot and what is its relationship to JVM and JDK / OpenJDK?     
asked by 07.08.2017 / 15:56
1
answer

JVM Instrumentation. Know how many times a method was called during program execution

I have a processing application of batch , currently it is multithreads , I need to know how many times we are executing the save method. Would anyone have any ideas? I need to increase the number of threads during the nigh...
asked by 03.06.2015 / 16:31
1
answer

How to see memory consumed by the web application?

I have a web application with Spring running, I would like to know how I can see the memory consumed by it.     
asked by 13.04.2015 / 21:08