Skip to main content

Questions tagged [jvm]

The Java Virtual Machine (JVM) enables a set of computer software programs and data structures to use a virtual machine model for the execution of other computer programs and scripts. Use this tag for questions dealing with tools provided by a JVM or how it works in a specific scenario.

jvm
2 votes
1 answer
65 views

Is JVM isolated from Kernal of Operating System?

I am new in learning docker, I have read some articles about differences between virtual machine and containers and I understand that the VM isolated from kernel of OS, but a question popped in my ...
Exact Perfect's user avatar
-1 votes
0 answers
20 views

Utilizing Multiple Application ClassLoaders in a Single Java Project [closed]

In a typical Java project, there's a single application classloader responsible for loading classes from the classpath. However, I've come across information suggesting the possibility of using ...
Tobi's user avatar
  • 9
0 votes
1 answer
50 views

How to Print Humongous Allocations in a Java Program Without Using GC Logs?

I'm currently working on a Java application that makes use of humongous allocations and regions. Typically, I would monitor these allocations and regions using the GC (Garbage Collection) logs. ...
dhanush427's user avatar
0 votes
1 answer
51 views

Jemalloc with java on Mac

trying to load jemalloc for java program to find native memory leak ,but unable to get it worked. Steps performed so far versions : Mac OS 14.3 , JDK 11 , jemalloc - 5.3.0 1.Installed jemalloc via ...
prasannajoshi's user avatar
1 vote
1 answer
48 views

OpenJDK Java17 ZGC garbage collector won't use more than 20% of allocated ram [closed]

I have a very high throughput microservice running in AWS in ECS using OpenJDK Java17. I'm testing with ZGC moving from G1GC and I notice that ZGC will not use the full allocated heap (10g), only 20% ...
P_C's user avatar
  • 223
0 votes
0 answers
19 views

getting error while installing sts for eclips [closed]

C:\WINDOWS\system32\sts-4.21.1 RELEASE\readme_eclips.html (The system cannot find the path specified) getting error while installing sts for eclipse I tried the system to check for any corrupted files ...
ashwini madhale's user avatar
0 votes
1 answer
30 views

JVM cannot find Agent_OnLoad in agent lib

I am coding a Java Agent library. However, the JVM cannot find Agent_OnLoad function even if I have explicitly exported it in my C++ code. JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM* vm, char* ...
Rabbit0w0's user avatar
1 vote
1 answer
51 views

What would prevent java garbage collection from cleaning heap?

Two k8s pods running the same image (using Adoptium 17 JRE). Around 9pm, they start getting requests and objects are getting created. On the blue pod, we can see the garbage collection working ...
wolf2600's user avatar
  • 589
1 vote
2 answers
66 views

Does JVM encompasses the JAVA SE library's binary code

As per my understanding, *.java file convert into bytecote,*.class by executing javac. Once JVM instantiate, JVM component JIT Compiler, converts that bytecode into binary code. and that binary code ...
RBS's user avatar
  • 225
1 vote
0 answers
41 views

CRIU - Restoring an executor Java process of Spark inside other containers

I use Kubernetes to run worker containers as nodes in my Spark setup. These worker containers run executors, which are java processes. My purpose is to checkpoint executor processes with CRIU, to be ...
asi345's user avatar
  • 11
0 votes
2 answers
39 views

Conflicting JVM specs between what can be verified run and what is debuggable wrt local variables?

On one hand the Java class spec says: There may be no more than one LocalVariableTable attribute per local variable in the attributes table of a Code attribute. But on the other hand lots of ...
got trolled too much this week's user avatar
0 votes
1 answer
47 views

Why can't I set HeapDumpOnOutOfMemoryError on GraalVM native image?

I want to auto dump when out of memory happen using this code HotSpotDiagnosticMXBean bean = ManagementFactory.newPlatformMXBeanProxy( ManagementFactory.getPlatformMBeanServer(), "...
Mohammad Fatoni's user avatar
0 votes
0 answers
25 views

How to solve Aurora assertion failure Error

I am getting: ERROR: ORA-29516: Aurora assertion failure: Assertion failure at joez.c:6725 jit-to-interpreter trampoline botch: invoker-index 8634 too large for com/glob/asd/FinalTest While my code ...
Amit Kumar Barik's user avatar
0 votes
0 answers
51 views

My java application using jpackage gets error: Failed to launch JVM

Im trying to create a Java app in Intellij with Maven and jpackage. The .jar file is created correctly and it works and the installer seems to be okay, but when I try to open the app that I got from ...
Raknah's user avatar
  • 1
0 votes
1 answer
62 views

Can you create new objects with jdb print?

jdb's print allows evaluation of expression, but I'm not sure if it's possible to create new objects that way. Any new seems to return just null, e.g.: Thread-0[1] print new java.lang.String("12&...
got trolled too much this week's user avatar

15 30 50 per page
1
2 3 4 5
826