Skip to content

Commit

Permalink
8311098: Change comment in verificationType.hpp to refer to _sym
Browse files Browse the repository at this point in the history
Reviewed-by: ccheung
  • Loading branch information
iklam committed Apr 18, 2024
1 parent 0646284 commit fe0227e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/hotspot/share/classfile/verificationType.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2003, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2003, 2024, 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
Expand Down Expand Up @@ -49,10 +49,10 @@ class ClassVerifier;

class VerificationType {
private:
// Least significant bits of _handle are always 0, so we use these as
// the indicator that the _handle is valid. Otherwise, the _data field
// Least significant 2 bits of _sym are always 0, so we use these as
// the indicator that _sym is a valid pointer. Otherwise, the _data field
// contains encoded data (as specified below). Should the VM change
// and the lower bits on oops aren't 0, the assert in the constructor
// and the lower 2 bits of Symbol* aren't 0, the assert in the constructor
// will catch this and we'll have to add a descriminator tag to this
// structure.
union {
Expand Down

1 comment on commit fe0227e

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.