question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] The app-jvm code_cache collect failed

See original GitHub issue

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

image

Expected Behavior

expected: the code_cache show success

Steps To Reproduce

No response

Environment

HertzBeat version(v2.0)

Debug logs

image

Anything else?

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

1reaction
tomsun28commented, Oct 23, 2022

好的 那我们就先文档说明 我后面去弄下

1reaction
tomsun28commented, Oct 23, 2022

JMX Metrics: java.lang:type=MemoryPool,name=Code Cache In JRE8 BUT NOT JRE11. In JRE11, CodeHeap ‘non-nmethods’ and CodeHeap ‘non-profiled nmethods’ instead of it.

JRE8:

2022-10-23 21 49 51

JRE11:

2022-10-23 21 51 11

It’s very hard to compatible with both versions.
Suggest we add attention document in hertzbeat doc to note that the Code Cache only support jre8 OR remove this metrics in jvm monitor.

Read more comments on GitHub >

github_iconTop Results From Across the Web

When is the JVM's JIT CodeCache reclaimed? Does anyone ...
I recently encountered a JIT error: Java HotSpot(TM) 64-Bit Server VM warning: CodeCache is full. Compiler has been disabled.
Read more >
JVM Code Cache Health Check requires non existent ATST ...
We have upgraded our test environment to Jira 8.6.1 and in the release notes it states there is a new JVM Code Cache...
Read more >
Code cache related JVM crash with OpenJDK 11 + Jargraal ...
We are experiencing occasional JVM crashes in our application because an internal guarantee in the code cache is violated: # # A fatal...
Read more >
"java.lang.VirtualMachineError: out of space in CodeCache for ...
Configuration Support Manager (CSM) collection fails with WebLogic Application server reporting the following error message in the server ...
Read more >
JDK-8244278 Excessive code cache flushes and sweeps
We have noticed increased deoptimizations and recompilations due to more frequent code cache flushing, during migration from JDK8 to JDK11.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found