src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxDebuggerLocal.java
--- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxDebuggerLocal.java Thu Jan 17 14:56:18 2019 -0800
+++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger/linux/LinuxDebuggerLocal.java Fri Jan 18 14:43:25 2019 +0900
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 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
@@ -102,7 +102,7 @@
private native static void init0()
throws DebuggerException;
private native void setSAAltRoot0(String altroot);
- private native void attach0(int pid, boolean isInContainer)
+ private native void attach0(int pid)
throws DebuggerException;
private native void attach0(String execName, String coreName)
throws DebuggerException;
@@ -321,9 +321,8 @@
class AttachTask implements WorkerThreadTask {
int pid;
- boolean isInContainer;
public void doit(LinuxDebuggerLocal debugger) {
- debugger.attach0(pid, isInContainer);
+ debugger.attach0(pid);
debugger.attached = true;
debugger.isCore = false;
findABIVersion();
@@ -332,7 +331,6 @@
AttachTask task = new AttachTask();
task.pid = processID;
- task.isInContainer = (processID != NSpid);
workerThread.execute(task);
}