Java Virtual Machine Cache Monitoring via External Shared Memory

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current JAVA™ virtual machines lack adequate mechanisms for real-time monitoring of their internal operation, which can lead to delayed detection of issues and potential catastrophic failures in enterprise software systems.

Innovation Solution

A system and method are implemented to monitor caches of JAVA™ virtual machines by generating cache status information and reporting it to external shared memory, allowing for real-time monitoring of local caches from external sources.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If JVMTM internal operation monitoring is not implemented, then the system structure remains simple, but real-time detection of cache issues is delayed leading to potential catastrophic failures

Engineering Contradiction:
Improvereal-time monitoring capabilityVSAvoidmonitoring mechanism complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces an intermediary monitoring mechanism that bridges the JVMTM internal cache and external monitoring tools. This intermediary layer enables real-time observation of cache operations without requiring fundamental changes to the JVMTM core architecture, thus improving reliability while controlling complexity through a dedicated monitoring interface.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent implements feedback mechanisms where cache status information is continuously reported back to external monitoring systems. This feedback loop allows real-time detection of cache issues and enables proactive response before catastrophic failures occur, directly addressing the reliability improvement need.

Inventive Principle:
Principle #23Feedback

2Difficulty of detecting and measuring

If comprehensive cache monitoring is implemented, then issue detection capability is improved, but the monitoring system complexity increases

Engineering Contradiction:
Improvecache status detection capabilityVSAvoidmonitoring system structure
Core Design Contradiction:
Difficulty of detecting and measuringVSDevice complexity

Solution Approach 1:

The patent extracts the monitoring functionality from the core JVMTM system into a separate, dedicated monitoring mechanism. This extraction allows comprehensive cache status detection to be implemented without complicating the main virtual machine architecture, as the monitoring functions are isolated in a separate component.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The monitoring system is segmented into distinct functional components: cache status generation, information reporting, and external monitoring interfaces. This segmentation allows each component to be optimized independently, improving detection capability while managing overall system complexity through modular design.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS7516277B2Cache monitoring using shared memory
Publication Date: 2009.04.07 SAP SE
  • US7516277B2 patent drawing
  • US7516277B2 patent drawing
  • US7516277B2 patent drawing

AI summary

A system and method to monitor caches of at least one Java virtual machine (“JVM”). A program is operated on the at least one JVM. Objects associated with the program are cached within a local cache of the JVM. Cache status information about the local cache is generated and then the cache status information is reported into memory external to the JVM to enable monitoring of the local cache from external to the JVM.