Skip to content
Permalink
Browse files
8266038: Move newAddress() to JVMDebugger
Reviewed-by: kevinw, amenkov
  • Loading branch information
YaSuenag committed May 5, 2021
1 parent 2c53654 commit b88785d2c6945c3063ad264d27609980c359cd77
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2021, 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
@@ -45,4 +45,5 @@ public void configureJavaPrimitiveTypeSizes(long jbooleanSize,
public void putHeapConst(long heapOopSize, long klassPtrSize,
long narrowKlassBase, int narrowKlassShift,
long narrowOopBase, int narrowOopShift);
public Address newAddress(long value);
}
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 2021, 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
@@ -51,7 +51,6 @@ public long readCInteger(long address, long numBytes, boolean isUnsigned
public BsdOopHandle readCompOopHandle(long address) throws DebuggerException;
public long[] getThreadIntegerRegisterSet(long unique_thread_id) throws DebuggerException;
public long getAddressValue(Address addr) throws DebuggerException;
public Address newAddress(long value) throws DebuggerException;

// For BsdCDebugger
public List<ThreadProxy> getThreadList();
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 2021, 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
@@ -51,7 +51,6 @@ public long readCInteger(long address, long numBytes, boolean isUnsigned
public LinuxOopHandle readCompOopHandle(long address) throws DebuggerException;
public long[] getThreadIntegerRegisterSet(int lwp_id) throws DebuggerException;
public long getAddressValue(Address addr) throws DebuggerException;
public Address newAddress(long value) throws DebuggerException;
public Address findLibPtrByAddress(Address pc);

// For LinuxCDebugger
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 2021, 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
@@ -52,7 +52,6 @@ public long readCInteger(long address, long numBytes, boolean isUnsigned
public ProcOopHandle readCompOopHandle(long address) throws DebuggerException;
public long[] getThreadIntegerRegisterSet(int tid) throws DebuggerException;
public long getAddressValue(Address addr) throws DebuggerException;
public Address newAddress(long value) throws DebuggerException;

// for ProcCDebugger, ProcCFrame and SharedObject
public List<ThreadProxy> getThreadList() throws DebuggerException;
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 2021, 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
@@ -55,7 +55,6 @@ public long readCInteger(long address, long numBytes, boolean isUnsigned
// the indices match those in debugger/x86/X86ThreadContext.java or
// debugger/amd64/AMD64ThreadContext.java.
public long[] getThreadIntegerRegisterSet(long threadId) throws DebuggerException;
public Address newAddress(long value) throws DebuggerException;

public long getThreadIdFromSysId(long sysId) throws DebuggerException;
// Support for the CDebugger interface. Retrieves the thread list of

0 comments on commit b88785d

Please sign in to comment.