src/hotspot/share/runtime/jniHandles.cpp
Index Unified diffs Context diffs Sdiffs Frames Patch New Old Previous File Next File open Cdiff src/hotspot/share/runtime/jniHandles.cpp

src/hotspot/share/runtime/jniHandles.cpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 22,31 **** --- 22,34 ---- * */ #include "precompiled.hpp" #include "gc/shared/oopStorage.inline.hpp" + #if INCLUDE_JVMCI + #include "jvmci/jvmci.hpp" + #endif #include "logging/log.hpp" #include "memory/iterator.hpp" #include "oops/access.inline.hpp" #include "oops/oop.inline.hpp" #include "runtime/handles.inline.hpp"
*** 119,129 **** } return res; } - jobject JNIHandles::make_weak_global(Handle obj, AllocFailType alloc_failmode) { assert(!Universe::heap()->is_gc_active(), "can't extend the root set during GC"); assert(!current_thread_in_native(), "must not be in native"); jobject res = NULL; if (!obj.is_null()) { --- 122,131 ----
*** 185,194 **** --- 187,199 ---- } void JNIHandles::oops_do(OopClosure* f) { global_handles()->oops_do(f); + #if INCLUDE_JVMCI + JVMCI::oops_do(f); + #endif } void JNIHandles::weak_oops_do(BoolObjectClosure* is_alive, OopClosure* f) { weak_global_handles()->weak_oops_do(is_alive, f);
src/hotspot/share/runtime/jniHandles.cpp
Index Unified diffs Context diffs Sdiffs Frames Patch New Old Previous File Next File