JDK-8237501 : TestInstanceKlassSizeForInstance runs TestInstanceKlassSize instead
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc-agent
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-01-18
  • Updated: 2020-02-04
  • Resolved: 2020-01-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 15
15 b08Fixed
Related Reports
Relates :  
Description
I got a test failure locally in both TestInstanceKlassSize and TestInstanceKlassSizeForInstance. When investigating the latter I noticed that we're actually not running TestInstanceKlassSizeForInstance due incorrect jtreg @run:

diff -r 1b2adb73f629 test/hotspot/jtreg/serviceability/sa/TestInstanceKlassSizeForInterface.java
--- a/test/hotspot/jtreg/serviceability/sa/TestInstanceKlassSizeForInterface.java	Sat Jan 18 00:07:38 2020 +0100
+++ b/test/hotspot/jtreg/serviceability/sa/TestInstanceKlassSizeForInterface.java	Sat Jan 18 14:53:10 2020 +0100
@@ -49,7 +49,7 @@
  *          jdk.hotspot.agent/sun.jvm.hotspot.debugger
  * @build sun.hotspot.WhiteBox
  * @run driver ClassFileInstaller sun.hotspot.WhiteBox sun.hotspot.WhiteBox$WhiteBoxPermission
- * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. TestInstanceKlassSize
+ * @run main/othervm -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -Xbootclasspath/a:. TestInstanceKlassSizeForInterface
  */
 
 import sun.hotspot.WhiteBox;

Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/7d9dcd46927f User: coleenp Date: 2020-01-24 15:23:10 +0000
24-01-2020

Looks like the typo happened with JDK-8232759.
24-01-2020

cut/paste error.
21-01-2020