< prev index next > test/hotspot/jtreg/gc/stress/gcbasher/MethodInfo.java
Print this page
/*
! * Copyright (c) 2016, 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.
/*
! * Copyright (c) 2016, 2026, 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.
*
*/
package gc.stress.gcbasher;
! class MethodInfo {
! private String name;
- private String descriptor;
- private int codeLength;
- private int codeStart;
-
- public MethodInfo(String name, String descriptor, int codeLength, int codeStart) {
- this.name = name;
- this.descriptor = descriptor;
- this.codeLength = codeLength;
- this.codeStart = codeStart;
- }
-
- public String getName() {
- return name;
- }
-
- public String getDescriptor() {
- return descriptor;
- }
-
- public int getCodeLength() {
- return codeLength;
- }
-
- public int getCodeStart() {
- return codeStart;
- }
- }
*
*/
package gc.stress.gcbasher;
! @jdk.test.lib.valueclass.AsValueClass
! record MethodInfo (String name, String descriptor, Integer codeLength, Integer codeStart) {}
< prev index next >