mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8173070: Remove ValueObj class for allocation subclassing for runtime code
Reviewed-by: stefank, tschatzl, stuefe
This commit is contained in:
parent
fb1ec3eb27
commit
7557d78b35
98 changed files with 225 additions and 271 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2018, 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
|
||||
|
@ -60,7 +60,7 @@
|
|||
|
||||
#ifdef ASSERT
|
||||
|
||||
class ByteSize VALUE_OBJ_CLASS_SPEC {
|
||||
class ByteSize {
|
||||
private:
|
||||
int _size;
|
||||
|
||||
|
@ -92,7 +92,7 @@ inline ByteSize in_ByteSize(int size) { return ByteSize(size); }
|
|||
inline int in_bytes(ByteSize x) { return x._size; }
|
||||
|
||||
|
||||
class WordSize VALUE_OBJ_CLASS_SPEC {
|
||||
class WordSize {
|
||||
private:
|
||||
int _size;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue