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.
12,374
questions
-1
votes
0
answers
50
views
Java app memory increase very fast and GC happening too frequent [closed]
I have a spring boot cronjob running in container. I found that container were killed by kubernetes several times.
This is the memory and CPU profiling of the app when the job is running:
This is ...
-4
votes
0
answers
37
views
How does intelliJ provides method name and parameter name suggestions for compiled class files or jar files?
How does IntelliJ/Eclipse or any other ide provides method name and parameter name suggestions for compiled class files or jar files? does it decompile all jars and then index it?
or Does it use any ...
-2
votes
0
answers
16
views
New relic for tomcat based application [closed]
I have one application and i want to integrate new relic java agent into that application ,i successfully injected new relic jfr into java based applications but for tomcat based application which ...
0
votes
0
answers
14
views
Geoserver EKS pod memory isssue [closed]
I am currently running Kartoza/GeoServer helm chart deployed to EKS(GeoServer version 2.24.0).
We previously had a linux deployment in production and migrated to eks now. We're using EFS for data ...
0
votes
0
answers
12
views
CPU ressource is full with multiple LemonLDAP Users
I have a LemonLDAP SSO server for my users authentication on my application (via mellon) with a DS389 LDAP server behind it.
I carry out performance shots with JMETER where I can reach 270 v-users.
...
1
vote
1
answer
57
views
Service provider running outside of jar file but not inside of a jar file
import java.util.ServiceLoader
interface A
data object B : A {
@JvmStatic
fun provider(): A = this
}
fun main() {
println(ServiceLoader.load(A::class.java).toList())
}
this program run ...
2
votes
0
answers
80
views
Unable to connect visualvm to java application after 7.3 gradle upgrade
We recently upgraded gradle version in our project from 7.1.x to 7.3.x. We observed that we are no longer able to connect visualvm java(11) application running in kubernetes. Port-forward works but ...
2
votes
1
answer
75
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 ...
0
votes
1
answer
58
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. ...
0
votes
1
answer
55
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 ...
1
vote
1
answer
56
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% ...
0
votes
1
answer
34
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* ...
1
vote
1
answer
53
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 ...
1
vote
2
answers
67
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 ...
1
vote
0
answers
42
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 ...