Skip to content
Permalink
Browse files
8262094: Handshake timeout scaled wrong
Reviewed-by: dholmes, stefank
  • Loading branch information
robehn committed Feb 23, 2021
1 parent 29c7263 commit 9d9bedd051c313cf0f4552c6486c3f43bdaa81b9
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/hotspot/share/runtime/handshake.cpp
@@ -38,6 +38,7 @@
#include "runtime/vmThread.hpp"
#include "utilities/formatBuffer.hpp"
#include "utilities/filterQueue.inline.hpp"
#include "utilities/globalDefinitions.hpp"
#include "utilities/preserveException.hpp"

class HandshakeOperation : public CHeapObj<mtThread> {
@@ -182,7 +183,7 @@ class VM_Handshake: public VM_Operation {
HandshakeOperation* const _op;

VM_Handshake(HandshakeOperation* op) :
_handshake_timeout(TimeHelper::millis_to_counter(HandshakeTimeout)), _op(op) {}
_handshake_timeout(millis_to_nanos(HandshakeTimeout)), _op(op) {}

bool handshake_has_timed_out(jlong start_time);
static void handle_timeout();

1 comment on commit 9d9bedd

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 9d9bedd Feb 23, 2021

Please sign in to comment.