< prev index next >

test/hotspot/jtreg/serviceability/tmtools/jstack/WaitNotifyThreadTest.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2015, 2018, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2015, 2019, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 38,48 **** public class WaitNotifyThreadTest { private Object monitor = new Object(); private final String OBJECT = "a java.lang.Object"; ! private final String OBJECT_WAIT = "java.lang.Object.wait"; private final String RUN_METHOD = "WaitNotifyThreadTest$WaitThread.run"; interface Action { void doAction(Thread thread); } --- 38,48 ---- public class WaitNotifyThreadTest { private Object monitor = new Object(); private final String OBJECT = "a java.lang.Object"; ! private final String OBJECT_WAIT = "java.lang.Object.wait0"; private final String RUN_METHOD = "WaitNotifyThreadTest$WaitThread.run"; interface Action { void doAction(Thread thread); }
< prev index next >