On Tue, 15 Dec 2020 17:26:25 GMT, Coleen Phillimore <cole...@openjdk.org> wrote:
> See bug for details. Tested: > > $ java -XX:+StressLdcRewrite -version > Error: VM option 'StressLdcRewrite' is diagnostic and must be enabled via > -XX:+UnlockDiagnosticVMOptions. > Error: The unlock option must precede 'StressLdcRewrite'. > Error: Could not create the Java Virtual Machine. > Error: A fatal exception has occurred. Program will exit. > $ java -XX:+UnlockDiagnosticVMOptions -XX:+StressLdcRewrite -version > openjdk version "16-internal" 2021-03-16 > OpenJDK Runtime Environment (build 16-internal+0-2020-12-15-1356558.coleen...) > OpenJDK 64-Bit Server VM (build 16-internal+0-2020-12-15-1356558.coleen..., > mixed mode, sharing) > > Also, java/lang/instrument which has a test using StressLdcRewrite and tier1. This pull request has now been integrated. Changeset: 4d6f3181 Author: Coleen Phillimore <cole...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/4d6f3181 Stats: 7 lines in 2 files changed: 0 ins; 0 del; 7 mod 8257726: Make -XX:+StressLdcRewrite option a diagnostic option Reviewed-by: lfoltan, stuefe, dcubed ------------- PR: https://git.openjdk.java.net/jdk/pull/1783