You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hotspot GC policy (OpenJDK/Hotspot): JVM workload with OpenJDK or Hotspot runtime and layer hotspot present. Expected: JDK_JAVA_OPTIONS or JAVA_OPTIONS contains appropriate GC flags (e.g., -XX:+UseG1GC for G1)
Semeru GC policy (Semeru/OpenJ9): JVM workload with Semeru or OpenJ9 runtime and layer semeru present. Expected: JAVA_OPTIONS contains -Xgcpolicy:gencon, -Xgcpolicy:balanced, or -Xgcpolicy:optthruput
Missing JVM metadata: Workload without jvm_info metrics or layer presence. Expected: No runtime recommendations; env absent or empty
Missing JVM version: jvm_info present but version label missing. Expected: No GC recommendation (null version handling)
Layer vs runtime mismatch: Layer name does not match effective runtime (e.g., hotspot layer for OpenJ9 workload). Expected: No recommendation for mismatched layer
Non-runtime datasource: Datasource that does not support runtime recommendations. Expected: API succeeds; server logs RUNTIMES_RECOMMENDATIONS_NOT_AVAILABLE
Generate Recommendations Test scenarios:
hotspotpresent.Expected:
JDK_JAVA_OPTIONSorJAVA_OPTIONScontains appropriate GC flags (e.g.,-XX:+UseG1GCfor G1)semerupresent.Expected:
JAVA_OPTIONScontains-Xgcpolicy:gencon,-Xgcpolicy:balanced, or-Xgcpolicy:optthruputjvm_infometrics or layer presence.Expected: No runtime recommendations;
envabsent or emptyjvm_infopresent but version label missing.Expected: No GC recommendation (null version handling)
Expected: No recommendation for mismatched layer
Expected: API succeeds; server logs
RUNTIMES_RECOMMENDATIONS_NOT_AVAILABLE