test/hotspot/jtreg/serviceability/sa/ClhsdbAttach.java
changeset 57777 90ead0febf56
parent 53596 bb40a5303c84
equal deleted inserted replaced
57774:21dccfac0ec5 57777:90ead0febf56
    54                     attach,
    54                     attach,
    55                     "flags MaxJavaStackTraceDepth",
    55                     "flags MaxJavaStackTraceDepth",
    56                     "detach",
    56                     "detach",
    57                     "universe",
    57                     "universe",
    58                     "reattach",
    58                     "reattach",
    59                     "longConstant markOopDesc::locked_value");
    59                     "longConstant markWord::locked_value");
    60 
    60 
    61             Map<String, List<String>> expStrMap = new HashMap<>();
    61             Map<String, List<String>> expStrMap = new HashMap<>();
    62             expStrMap.put("where", List.of(
    62             expStrMap.put("where", List.of(
    63                     "Command not valid until attached to a VM"));
    63                     "Command not valid until attached to a VM"));
    64             expStrMap.put("flags MaxJavaStackTraceDepth", List.of(
    64             expStrMap.put("flags MaxJavaStackTraceDepth", List.of(
    65                     "MaxJavaStackTraceDepth = "));
    65                     "MaxJavaStackTraceDepth = "));
    66             expStrMap.put("universe", List.of(
    66             expStrMap.put("universe", List.of(
    67                     "Command not valid until attached to a VM"));
    67                     "Command not valid until attached to a VM"));
    68             expStrMap.put("longConstant markOopDesc::locked_value", List.of(
    68             expStrMap.put("longConstant markWord::locked_value", List.of(
    69                     "longConstant markOopDesc::locked_value"));
    69                     "longConstant markWord::locked_value"));
    70 
    70 
    71             test.run(-1, cmds, expStrMap, null);
    71             test.run(-1, cmds, expStrMap, null);
    72         } catch (SkippedException se) {
    72         } catch (SkippedException se) {
    73             throw se;
    73             throw se;
    74         } catch (Exception ex) {
    74         } catch (Exception ex) {