mirror of
https://github.com/corda/corda.git
synced 2025-01-09 14:33:30 +00:00
handle JMM_THREAD_ALLOCATED_MEMORY in JMX GetBoolAttribute implementation
This commit is contained in:
parent
d94fd952e9
commit
747f22115f
@ -5271,9 +5271,11 @@ jboolean JNICALL
|
|||||||
GetBoolAttribute(Thread* t, jmmBoolAttribute attribute)
|
GetBoolAttribute(Thread* t, jmmBoolAttribute attribute)
|
||||||
{
|
{
|
||||||
const unsigned JMM_THREAD_CPU_TIME = 24;
|
const unsigned JMM_THREAD_CPU_TIME = 24;
|
||||||
|
const unsigned JMM_THREAD_ALLOCATED_MEMORY = 25;
|
||||||
|
|
||||||
switch (attribute) {
|
switch (attribute) {
|
||||||
case JMM_THREAD_CPU_TIME:
|
case JMM_THREAD_CPU_TIME:
|
||||||
|
case JMM_THREAD_ALLOCATED_MEMORY:
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user