mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8150506: Remove unused locks
Reviewed-by: mgronlun, tschatzl, mgerdin, coleenp
This commit is contained in:
parent
5d5113046a
commit
453c5ef375
4 changed files with 5 additions and 26 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2016, 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
|
||||
|
@ -836,8 +836,7 @@ void FlatProfiler::record_vm_tick() {
|
|||
vm_thread_profiler->inc_thread_ticks();
|
||||
|
||||
// Get a snapshot of a current VMThread pc (and leave it running!)
|
||||
// The call may fail if, for instance the VM thread is interrupted while
|
||||
// holding the Interrupt_lock or for other reasons.
|
||||
// The call may fail in some circumstances
|
||||
epc = os::get_thread_pc(VMThread::vm_thread());
|
||||
if(epc.pc() != NULL) {
|
||||
if (os::dll_address_to_function_name(epc.pc(), buf, sizeof(buf), NULL)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue