Skip to content
Permalink
Browse files
Move incorrect assertion
  • Loading branch information
pron committed Mar 31, 2021
1 parent c75f81f commit a20642d387779738265c2b85964000941737a90a
Showing 1 changed file with 3 additions and 3 deletions.
@@ -2155,12 +2155,13 @@ class Thaw {
assert (!chunk->is_empty(), "");
assert (!chunk->has_mixed_frames(), "");
assert (!chunk->requires_barriers(), "");

static const int threshold = 500; // words
assert (!_thread->is_interp_only_mode(), "");

log_develop_trace(jvmcont)("thaw_fast");
if (log_develop_is_enabled(Debug, jvmcont)) chunk->print_on(true, tty);

static const int threshold = 500; // words

int sp = chunk->sp();
int size = chunk->stack_size() - sp;
int argsize;
@@ -2314,7 +2315,6 @@ class Thaw {
int num_frames = (return_barrier ? 1 : 2);

log_develop_trace(jvmcont)("thaw slow");
assert (!_thread->is_interp_only_mode(), "");

bool last_interpreted = false;
if (chunk->has_mixed_frames()) {

0 comments on commit a20642d

Please sign in to comment.