JDK-8151765 : SA provides no API for detecting if JVMCI is supported
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc-agent
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Won't Fix
  • Submitted: 2016-03-12
  • Updated: 2023-08-02
  • Resolved: 2020-03-16
Related Reports
Relates :  
Description
Currently SA supports calling VM.getVM().isClientCompiler() to see if C1 is supported and VM.getVM().isServerCompiler() to see if C2 is supported. However, there is no way to determine if neither are supported, and instead only JVMCI is supported.

https://bugs.openjdk.java.net/browse/JDK-8151155?focusedCommentId=13910396&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13910396
Comments
Closing as WNF since there seems to be no need for this support at this time.
16-03-2020

Minimal VM and Emulated client are just marketing labels for a VM built a particular way. Queries should be based on available services/features.
23-03-2017

We should also give out information if it is a minimal vm, Emulated client etc.
23-03-2017

ILW = L (Usabillity), H (always occurs), H (no workaround) = P4
18-03-2016