8068489: remove unnecessary complexity in Flow and Bits, after JDK-8064857

Reviewed-by: mcimadamore, jjg
This commit is contained in:
Vicente Romero 2015-02-18 17:07:06 -08:00
parent 0a57971dd9
commit 7bf016c7b1
2 changed files with 265 additions and 380 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 2015, 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
@ -84,20 +84,6 @@ public class Bits {
}
public enum BitsOpKind {
INIT,
CLEAR,
INCL_BIT,
EXCL_BIT,
ASSIGN,
AND_SET,
OR_SET,
DIFF_SET,
XOR_SET,
INCL_RANGE,
EXCL_RANGE,
}
private final static int wordlen = 32;
private final static int wordshift = 5;
private final static int wordmask = wordlen - 1;