Questions tagged [jvm]
A Java virtual machine (JVM) is a virtual machine that can execute Java bytecode. It is the code execution component of the Java platform.
76 questions
1 vote
2 answers
260 views
Implementation of variables in JVM / Java
I know that a lot of interpreted higher level languages like to abstract a lot of things and therefore cannot directly be compared with lower level constructs. For example in some languages primitive ...
-1 votes
2 answers
2k views
How to access version of a Java application programmatically when running from an IDE?
As far as I understand, the best practice for programmatic access to the version of a Java application is to: Specify version via build system (e.g. in Gradle). Include the version string as a ...
0 votes
2 answers
2k views
Why are some languages called platform dependent if I can always share the source code?
I was reading about erlang when I read that it is platform-independent, using BEAM as the VM, now I understand that a VM compiles the byte code to machine code and this makes that language machine-...
8 votes
1 answer
277 views
To show the difference between system VMs and JVMs
I am trying to draw diagrams that show the difference between system virtual machines and Java virtual machines. The first two images looks correct to me. But I don't know how to draw the third. ...
1 vote
1 answer
976 views
Are JVM thread dumps a security concern?
When building parallelized applications using Java, a developer sometimes finds himself with a thread being blocked indefinitely because of a four-year-old bug in the spring-bean-web-rest-foo-bar-...
-2 votes
2 answers
759 views
Converting Java code run by dependency to native code
Is it, at least theoretically, possible to convert a Java application into native code that can be run by something else written in Java? One example of this could be a Minecraft Spigot server. You ...
-2 votes
1 answer
234 views
How's .NET multi-platform approach different than Java's back in the days? [closed]
TL;DR How is the new .NET approach to being a multi platform framework better than what Java did long ago? What are the key differences in the implementation? What are the advantages and disadvantages ...
4 votes
3 answers
4k views
Different types of heap in java
I was faced with this question recently for the different types of heap memory available in Java. I couldn't find much information online. Are there different types of heap memory available in Java ?...