src/hotspot/share/jvmci/jvmciCompilerToVM.cpp
changeset 48819 ee513596f3ee
parent 48608 1dab70e20292
parent 48792 d2920683b2ea
child 48826 c4d9d1b08e2e
equal deleted inserted replaced
48818:ec4a84ba2aaf 48819:ee513596f3ee
     1 /*
     1 /*
     2  * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
  1431             if (scope != NULL && scope->objects() != NULL) {
  1431             if (scope != NULL && scope->objects() != NULL) {
  1432               bool realloc_failures = Deoptimization::realloc_objects(thread, fst.current(), scope->objects(), CHECK_NULL);
  1432               bool realloc_failures = Deoptimization::realloc_objects(thread, fst.current(), scope->objects(), CHECK_NULL);
  1433               Deoptimization::reassign_fields(fst.current(), fst.register_map(), scope->objects(), realloc_failures, false);
  1433               Deoptimization::reassign_fields(fst.current(), fst.register_map(), scope->objects(), realloc_failures, false);
  1434 
  1434 
  1435               GrowableArray<ScopeValue*>* local_values = scope->locals();
  1435               GrowableArray<ScopeValue*>* local_values = scope->locals();
       
  1436               assert(local_values != NULL, "NULL locals");
  1436               typeArrayOop array_oop = oopFactory::new_boolArray(local_values->length(), CHECK_NULL);
  1437               typeArrayOop array_oop = oopFactory::new_boolArray(local_values->length(), CHECK_NULL);
  1437               typeArrayHandle array(THREAD, array_oop);
  1438               typeArrayHandle array(THREAD, array_oop);
  1438               for (int i = 0; i < local_values->length(); i++) {
  1439               for (int i = 0; i < local_values->length(); i++) {
  1439                 ScopeValue* value = local_values->at(i);
  1440                 ScopeValue* value = local_values->at(i);
  1440                 if (value->is_object()) {
  1441                 if (value->is_object()) {