Skip to content
Permalink
Browse files
Fix debug build
  • Loading branch information
AlanBateman committed Mar 15, 2021
1 parent d87fad7 commit b861d00fa52b7c240ea67c15aedee8a2b1d84130
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
@@ -4852,7 +4852,7 @@ class UnsafeConstantsFixup : public FieldClosure {
} else if (fd->name() == vmSymbols::data_cache_line_flush_size_name()) {
mirror->int_field_put(fd->offset(), _data_cache_line_flush_size);
} else if (fd->name() == vmSymbols::scoped_cache_shift_name()) {
mirror->int_field_put(fd->offset(), ScopedCacheSize ? exact_log2(ScopedCacheSize) : -1);
mirror->int_field_put(fd->offset(), ScopeLocalCacheSize ? exact_log2(ScopeLocalCacheSize) : -1);
} else {
assert(false, "unexpected UnsafeConstants field");
}
@@ -2088,7 +2088,7 @@ const intx ObjectAlignmentInBytes = 8;
develop(bool, VerifyContinuations, true, \
"Verify continuation consistency") \
\
product(intx, ScopedCacheSize, 16, \
product(intx, ScopeLocalCacheSize, 16, \
"Size of the cache for scoped values") \
range(0, max_intx) \
\
@@ -2230,7 +2230,7 @@ void JavaThread::deoptimize() {
// search for the current bci in that string.
address pc = fst.current()->pc();
nmethod* nm = (nmethod*) fst.current()->cb();
ScopeLocalesc* sd = nm->scope_desc_at(pc);
ScopeDesc* sd = nm->scope_desc_at(pc);
char buffer[8];
jio_snprintf(buffer, sizeof(buffer), "%d", sd->bci());
size_t len = strlen(buffer);

0 comments on commit b861d00

Please sign in to comment.