This repository was archived by the owner on Aug 27, 2022. It is now read-only.
File tree 2 files changed +2
-29
lines changed
2 files changed +2
-29
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 1997, 2020 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 1997, 2021 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -2263,34 +2263,11 @@ void GenerateOopMap::rewrite_refval_conflicts()
2263
2263
return ;
2264
2264
2265
2265
// Check if rewrites are allowed in this parse.
2266
- if (!allow_rewrites () && !IgnoreRewrites ) {
2266
+ if (!allow_rewrites ()) {
2267
2267
fatal (" Rewriting method not allowed at this stage" );
2268
2268
}
2269
2269
2270
2270
2271
- // This following flag is to tempoary supress rewrites. The locals that might conflict will
2272
- // all be set to contain values. This is UNSAFE - however, until the rewriting has been completely
2273
- // tested it is nice to have.
2274
- if (IgnoreRewrites) {
2275
- if (Verbose) {
2276
- tty->print (" rewrites suppressed for local no. " );
2277
- for (int l = 0 ; l < _max_locals; l++) {
2278
- if (_new_var_map[l] != l) {
2279
- tty->print (" %d " , l);
2280
- vars ()[l] = CellTypeState::value;
2281
- }
2282
- }
2283
- tty->cr ();
2284
- }
2285
-
2286
- // That was that...
2287
- _new_var_map = NULL ;
2288
- _nof_refval_conflicts = 0 ;
2289
- _conflict = false ;
2290
-
2291
- return ;
2292
- }
2293
-
2294
2271
// Tracing flag
2295
2272
_did_rewriting = true ;
2296
2273
Original file line number Diff line number Diff line change @@ -674,10 +674,6 @@ const intx ObjectAlignmentInBytes = 8;
674
674
" Tell whether the VM should register soft/weak/final/phantom " \
675
675
" references" ) \
676
676
\
677
- develop(bool , IgnoreRewrites, false , \
678
- " Suppress rewrites of bytecodes in the oopmap generator. " \
679
- " This is unsafe!" ) \
680
- \
681
677
develop(bool , PrintCodeCacheExtension, false , \
682
678
" Print extension of code cache" ) \
683
679
\
You can’t perform that action at this time.
0 commit comments