JDK-8055677 : java/lang/instrument/RedefineBigClass.sh RetransformBigClass.sh start failing after JDK-8055012
  • Type: Bug
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 9
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-08-20
  • Updated: 2015-01-21
  • Resolved: 2014-08-21
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 8 JDK 9
8u40Fixed 9 b29Fixed
Description
TESTFAIL:java/lang/instrument/RedefineBigClass.sh
TESTFAIL:java/lang/instrument/RetransformBigClass.sh

java/lang/instrument/RedefineBigClass.sh
java/lang/instrument/RetransformBigClass.sh
These test start failing after JDK-8055012, fail at OS X, Solaris and Linux.

PASS: Committed memory usage increased by -3505KB (not greater than 32768KB)
PASS: RedefineBigClassApp exited with status of 0.
[0x00000001079052b4] nmethod::nmethod(Method*, int, int, int, CodeOffsets*, int, DebugInformationRecorder*, Dependencies*, CodeBuffer*, int, OopMapSet*, ExceptionHandlerTable*, ImplicitExceptionTable*, AbstractCompiler*, int)+0x4e
FAIL: found 'Exception' in the test output



Comments
When I run this I get this also: ... Output overflow: JT Harness has limited the test output to the text to that at the beginning and the end, so that you can see how the test began, and how it completed. If you need to see more of the output from the test, set the system property javatest.maxOutputSize to a higher value. The current value is 100000 ...
20-08-2014

The test shouldn't fail because it found "exception" in one of allocation stack traces, NMT2 did not break this. Moving this to SVC to fix the test.
20-08-2014

The NMT output contains "Exception" (totally benign), but the test checks for that string and fails...
20-08-2014