mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
8246378: [Windows] assert on MethodHandle logging code
Reviewed-by: iklam, vlivanov
This commit is contained in:
parent
98a5d5a6ee
commit
e7c7469cf5
11 changed files with 57 additions and 141 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2014, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2014, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -31,7 +31,7 @@
|
|||
* java.instrument
|
||||
* @requires vm.jvmti
|
||||
* @run main RedefineClassHelper
|
||||
* @run main/othervm -Xmx256m -XX:MaxMetaspaceSize=64m -javaagent:redefineagent.jar -Xlog:all=trace:file=all.log RedefineClasses
|
||||
* @run main/othervm -Xmx256m -XX:MaxMetaspaceSize=64m -javaagent:redefineagent.jar -XX:+Verbose -Xlog:all=trace:file=all.log RedefineClasses
|
||||
*/
|
||||
|
||||
// package access top-level class to avoid problem with RedefineClassHelper
|
||||
|
|
|
@ -26,10 +26,11 @@
|
|||
* @bug 8244946
|
||||
* @summary Run simple test with -XX:+Verbose and -Xlog:methodhandles.
|
||||
*
|
||||
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+Verbose -Xlog:methodhandles TestMethodHandlesVerbose
|
||||
* @run main/othervm -XX:+IgnoreUnrecognizedVMOptions -XX:+Verbose -Xlog:methodhandles TestMethodHandlesVerbose a b
|
||||
*/
|
||||
|
||||
public class TestMethodHandlesVerbose {
|
||||
public static void main(String[] args) {
|
||||
System.out.println(args[0] + args[1]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue