8283627: Outdated comment in MachineDescriptionTwosComplement.isLP64

Reviewed-by: cjplummer, sspitsyn, lmesnik
This commit is contained in:
Daniel Skantz 2022-09-12 16:31:52 +00:00 committed by Kevin Walls
parent cea409cc28
commit 524af94937
2 changed files with 4 additions and 3 deletions
src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/debugger

@ -54,7 +54,7 @@ public interface MachineDescription extends Serializable {
public boolean isBigEndian();
/** Indicates whether the underlying machine supports the LP64 data
model (currently only SPARC/64). */
model. */
public boolean isLP64();
/** Indicates whether the underlying machine supports 64-bit types

@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2001, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 2022, 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
@ -74,7 +74,8 @@ public abstract class MachineDescriptionTwosComplement {
return tableLookup(sizeInBytes, signedMinValues);
}
// Nearly all of the supported machines are not LP64 */
// Historically, most supported machines were not LP64.
// 64-bit machines have however become more popular.
public boolean isLP64() {
return false;
}