| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
2007-10-12 Andrew Haley <aph@redhat.com>
PR classpath/33741:
* java/lang/Double.java:
(compare(double,double)): Increase performance
of this method.
* java/lang/Float.java:
(compare(float,float)): Likewise.
|
|
|
|
|
|
| |
Recommitting patch by Dalibor Topic from 2007-09-21.
* java/lang/management/ThreadInfo.java:
Removed unused private constructors.
|
|
|
|
|
| |
* java/lang/management/ThreadInfo.java: Reverted patch from
2007-09-21, as it breaks JikesRVM.
|
|
|
|
|
|
|
| |
* gnu/java/rmi/server/RMIClassLoaderImpl.java,
java/beans/beancontext/BeanContextServicesSupport.java,
java/lang/management/ThreadInfo.java:
Removed unused private constructors.
|
| |
|
|
|
|
|
|
| |
* java/lang/Integer.java:
(parseInt(String,int,boolean)): Throw NumberFormatException if
String is just "+".
|
|
|
|
|
|
|
| |
Fixes #32356
* java/lang/reflect/Array.java
(newInstance(Class,int[])): Call createMultiArray correctly.
(createMultiArray): Fixed dimensions processing order.
|
|
|
|
|
|
|
|
|
| |
* java/lang/Float.java
(toString(float)): Call VMFloat instead of VMDouble.
(parseFloat): Call VMFloat. Fixed comment.
* vm/reference/java/lang/VMFloat.java
(toString, parseFloat): New methods.
NEWS: added note about these changes.
|
|
|
|
|
|
|
|
|
|
| |
* java/lang/System.java
(inheritedChannel): New method, wraps
SelectorProvider.inheritedChannel().
* java/nio/channels/spi/SelectorProvider.java
(inheritedChannel): New abstract method.
* gnu/java/nio/SelectorProviderImpl.java
(inheritedChannel): New method, return null as default.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Jakub Jelinek <jakub@redhat.com>
PR libgcj/17002
PR classpath/28550
* java/util/Date.java (parse): Properly parse 09:01:02 as
hours/minutes/seconds, not as hours/minutes/year.
* java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
{start,end}TimeMode constructor by calling shorter constructor,
set {start,end}TimeMode fields after it returns.
(setStartRule): Don't adjust startTime into WALL_TIME. Set
startTimeMode to WALL_TIME.
(endStartRule): Similarly.
(getOffset): Handle properly millis + dstOffset overflowing into the
next day. Adjust startTime resp. endTime based on startTimeMode
resp. endTimeMode.
* java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
static fields.
(timezones): Remove synchronized keyword. Set zoneinfo_dir.
If non-null, set up aliases0 and don't put anything into
timezones0.
(defaultZone): Call getTimeZone instead of timezones().get.
(getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use
getTimeZoneInternal instead of timezones().get.
(parseTime): Parse correctly hour:minute.
(getTimeZoneInternal): New private method.
(getTimeZone): Do the custom ID checking first, canonicalize
ID for custom IDs as required by documentation. Call
getTimeZoneInternal to handle the rest.
(getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null.
(getAvailableIDs(File,String,ArrayList)): New private method.
(getAvailableIDs()): Add locking. Handle zoneinfo_dir != null.
* vm/reference/java/util/VMTimeZone.java (getDefaultTimeZoneId):
To read /etc/localtime, use ZoneInfo.readTZFile instead of
VMTimeZone.readtzFile. Get better timezone name for
/etc/localtime, either if it is a symlink or through
/etc/sysconfig/clock.
(readSysconfigClockFile): New static method.
(readtzFile): Removed.
* gnu/java/util/ZoneInfo.java: New file.
* java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
* NEWS: Documented TimeZone interface changes.
|
|
|
|
|
|
|
|
|
|
|
| |
* java/lang/Class.java
(newInstance): Moved setAccessible call to helper method.
(getEnumConstants): Call new helper method to allow values method to be
called on non-public enum classes.
(setAccessible): New helper method.
* java/lang/Enum.java
(valueOf): Call new helper method in class to allow field value to
be read on non-public enum classes.
|
|
|
|
|
| |
* java/lang/SecurityManager.java (SecurityManager): Load and
initialize java.security.Security.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/locale/LocaleHelper.java:
(getLocalizedString(Locale,String,String,boolean,
boolean)): Removed, no longer needed.
(getFallbackLocale(Locale)): Implemented.
* java/lang/String.java:
(isEmpty()): Implemented.
* java/util/Currency.java:
(getSymbol(Locale)): Reimplemented to use SPI.
* java/util/Locale.java:
(ROOT): Added.
* java/util/spi/CurrencyNameProvider.java:
New file.
* java/util/spi/LocaleServiceProvider.java:
Likewise.
* java/util/spi/package.html: Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* NEWS: Mention 1.6 support for java.lang.management
* configure.ac: Check for getloadavg.
* examples/gnu/classpath/examples/management/TestOS.java:
Print system load average.
* gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
(getSystemLoadAverage()): Implemented.
* include/Makefile.am: Add new header.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h:
Regenerated.
* include/gnu_java_lang_management_VMOperatingSystemMXBeanImpl.h:
Generated.
* java/lang/management/OperatingSystemMXBean.java:
(getSystemLoadAverage()): Implemented.
* native/jni/java-lang/Makefile.am: Add new native code.
* native/jni/java-lang/gnu_java_lang_management_VMOperatingSystemMXBeanImpl.c:
New file.
* vm/reference/gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java:
Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/vmintegration.texinfo:
Updated to match new threading bean API.
* gnu/java/lang/management/ThreadMXBeanImpl.java:
(MONITOR_SUPPORT): New constant for object monitor
lock support property.
(SYNCHRONIZER_SUPPORT): New constant for ownable
synchronizer lock support property.
(dumpAllThreads(boolean,boolean)): Implemented.
(findDeadlockedThreads()): Likewise.
(getThreadInfo(long[],boolean,boolean)): Likewise.
(isObjectMonitorUsageSupported()): Likewise.
(isSynchronizerUsageSupported()): Likewise.
* java/lang/management/ThreadInfo.java:
(ThreadInfo(Thread,long,long,Object,Thread,long,
long,boolean,boolean,StackTraceElement[],
MonitorInfo[], LockInfo[])): New constructor.
(ThreadInfo(long,String,Thread.State,long,long,
String,long,String,long,long,boolean,boolean,
StackTraceElement[],MonitorInfo[], LockInfo[])):
Likewise.
(from(CompositeData)): Updated to handle new attributes.
(getLockedMonitors()): Implemented.
(getLockedSynchronizers()): Likewise.
(getLockInfo()): Likewise.
(getLockName()): Handle blocking as documented in 1.6
(getLockOwnerId()): Likewise.
(getLockOwnerName()): Likewise.
(toString()): Likewise.
(isThreadBlocked()): Thread blocked check based on
documented 1.6 semantics.
* java/lang/management/ThreadMXBean.java:
(dumpAllThreads(boolean,boolean)): Implemented.
(findDeadlockedThreads()): Likewise.
(getThreadInfo(long[],boolean,boolean)): Likewise.
(isObjectMonitorUsageSupported()): Likewise.
(isSynchronizerUsageSupported()): Likewise.
* vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
(findDeadlockedThreads()): New native method.
(getLockInfo(ThreadInfo)): Likewise.
(getMonitorInfo(ThreadInfo)): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/lang/management/MonitorInfo.java:
Make variables private.
* java/util/Arrays.java:
(binarySearch(byte[],byte)): Implemented in terms
of range-based variant.
(binarySearch(short[],short)): Likewise.
(binarySearch(int[],int)): Likewise.
(binarySearch(long[],long)): Likewise.
(binarySearch(char[],char)): Likewise.
(binarySearch(float[],float)): Likewise.
(binarySearch(double[],double)): Likewise.
(binarySearch(byte[],int,int,byte)): Implemented.
(binarySearch(short[],int,int,short)): Likewise.
(binarySearch(int[],int,int,int)): Likewise.
(binarySearch(long[],int,int,long)): Likewise.
(binarySearch(char[],int,int,char)): Likewise.
(binarySearch(float[],int,int,float)): Likewise.
(binarySearch(double[],int,int,double)): Likewise.
(binarySearch(Object[],int,int,Object)): Likewise.
(binarySearch(T[],int,int,T,Comparator)): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/beans/ConstructorProperties.java:
New file.
* java/lang/management/LockInfo.java:
Likewise.
* java/lang/management/MonitorInfo.java:
Likewise.
* java/lang/management/ThreadInfo.java:
(getStackTraceType()): New method to
make the StackTraceElement type accessible.
(from(CompositeData)): Refactored to use
getStackTraceType().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/lang/management/BeanImpl.java:
(translate(String)): Correct handling of
CompositeData objects.
* java/lang/management/ManagementFactory.java:
(ManagementInvocationHandler.invoke(Object,
Method,Object[])): Handle translation and notifications.
(ManagementInvocationHandler.translate(Object,
Method)): Implement type translation.
* java/lang/management/MemoryUsage.java:
(from(CompositeData)): Fix capitalisation.
* java/lang/management/ThreadInfo.java:
(from(CompositeData)): Likewise.
* javax/management/StandardMBean.java:
(getMBeanInfo()): Add notification handling.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* .settings/org.eclipse.jdt.core.prefs: set compilation flag to warning
instead of error for empty control flow statements.
* gnu/javax/swing/text/html/css/CSSParser.java (parseSelector):
(parseValue): Reverted last change.
* java/text/BreakIterator.java (preceding): likewise.
* external/jsr166/java/util/AbstractQueue.java (clear): likewise.
* gnu/java/io/Base64InputStream.java (read): likewise.
* javax/swing/text/DefaultStyledDocument.java (ElementBuffer.insertUpdate):
likewise.
* java/util/zip/DeflaterEngine.java (findLongestMatch): likewise.
* java/util/zip/ZipInputStream.java (closeEntry): likewise.
* java/util/zip/DeflaterHuffman.java (Tree.buildLength): likewise.
* java/io/StreamTokenizer.java (nextToken): likewise.
* gnu/javax/imageio/png/PNGICCProfile.java (PNGICCProfile): likewise.
* gnu/java/awt/font/opentype/truetype/VirtualMachine.java (execute):
likewise.
* gnu/java/nio/charset/ByteCharset.java (Decoder.decodeLoop): likewise.
Also fixed typo.
* gnu/java/awt/print/PostScriptGraphics2D.java (spoolPostScript): likewise.
* gnu/java/awt/print/JavaPrinterGraphics.java (spoolPostScript): likewise.
* gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java (engineVerify):
likewise.
* javax/swing/text/html/CSSParser.java:
(parse): likewise.
* java/lang/String.java (trim): likewise.
* java/lang/StrictMath.java (remPiOver2): likewise.
* gnu/java/awt/peer/qt/QtToolkit.java (QtToolkit): likewise.
* javax/swing/JComponent.java (paintImmediately2): likewise.
(paintChildren): likewise.
* java/util/EnumMap.java (..next): likewise.
* java/util/BitSet.java (length): likewise.
* java/util/Collections.java (binarySearch): likewise.
* java/util/StringTokenizer.java (nextToken): likewise.
* java/util/PriorityQueue.java (.next): likewise.
* java/math/BigInteger.java (BigInteger): likewise.
* gnu/java/lang/management/BeanImpl.java (translate): likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* javax/imageio/spi/ServiceRegistry.java: fixed Empty control-flow
statement.
* tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java: likewise.
* gnu/java/io/Base64InputStream.java (read): likewise.
* gnu/javax/swing/text/html/CharacterAttributeTranslator.java: likewise.
* java/util/zip/DeflaterEngine.java (findLongestMatch): likewise.
* java/util/zip/ZipInputStream.java (closeEntry): likewise.
* java/util/zip/DeflaterHuffman.java (Tree.buildLength): likewise.
* org/omg/CORBA/ORB.java: likewise.
* javax/swing/plaf/metal/MetalFileChooserUI.java: likewise.
* gnu/javax/imageio/png/PNGICCProfile.java (PNGICCProfile): likewise.
* tools/external/asm/org/objectweb/asm/xml/ASMContentHandler.java: likewise.
* java/text/MessageFormat.java (MessageFormatElement.setLocale): likewise.
* java/text/BreakIterator.java (preceding): likewise.
* gnu/javax/net/ssl/provider/SSLEngineImpl.java: likewise.
* gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java (engineVerify):
likewise.
* java/beans/XMLEncoder.java (writeObject): likewise.
* gnu/java/beans/encoder/ScanEngine.java (ScanEngine): likewise.
* java/util/Collections.java (binarySearch): likewise.
* java/util/StringTokenizer.java (nextToken): likewise.
* java/util/PriorityQueue.java (.next): likewise.
* java/util/EnumMap.java (..next): likewise.
* java/util/BitSet.java (length): likewise.
* java/util/Date.java (parse): likewise.
* javax/swing/text/html/CSSParser.java (parse): likewise.
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(TabbedPaneScrollLayout.calculateTabRects): likewise.
* java/lang/Character.java (UnicodeBlock): likewise.
* java/lang/String.java (trim): likewise.
* java/lang/StrictMath.java (remPiOver2): likewise.
* javax/swing/JFormattedTextField.java (commitEdit): likewise.
* javax/swing/JComponent.java (paintImmediately2): likewise.
(paintChildren): likewise.
* javax/swing/JToolTip.java (paramString): likewise.
* javax/swing/JEditorPane.java (JEditorPane): likewise.
* gnu/CORBA/Poa/gnuPOA.java: likewise.
* gnu/javax/security/auth/login/ConfigFileParser.java
(parseAppOrOtherEntry): likewise.
(parse): likewise.
* java/math/BigInteger.java (setBitOp): likewise.
(add): likewise.
(BigInteger): likewise.
* gnu/java/lang/management/BeanImpl.java (translate): likewise.
* javax/swing/text/DefaultStyledDocument.java (ElementBuffer.insertUpdate):
likewise.
* javax/swing/text/AbstractDocument.java (BranchElement): likewise.
* javax/swing/text/JTextComponent.java (getScrollableTracksViewportWidth):
likewise.
* javax/swing/text/FieldView.java (checkContainer): likewise.
* javax/swing/text/AsyncBoxView.java (ChildLocator.updateChildOffsets):
likewise.
* java/text/DecimalFormat.java (formatToCharacterIterator): likewise.
(parse): small refactoring.
|
|
|
|
|
| |
* java/lang/Enum.java:
(finalize()): Implemented.
|
|
|
|
|
|
|
|
| |
* gnu/java/lang/management/BeanImpl.java:
(getAttribute(String)): Fix Map and List conversion.
* java/lang/management/ManagementFactory.java:
(newPlatformMXBeanProxy(MBeanServerConnection,
String, Class<T>)): Add a comma.
|
|
|
|
|
|
| |
* java/lang/management/ManagementFactory.java:
(newPlatformMXBeanProxy(MBeanServerConnection,
String, Class<T>)): Initial implementation.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/lang/Class.java:
(getClasses()): Return Class<?>[].
(internalGetClasses()): Likewise.
(getConstructor(Class<?>...)): Add type parameter
to parameters.
(getDeclaredConstructor(Class<?>...)): Likewise.
(getDeclaredClasses()): Return Class<?>[].
(getDeclaredClasses(boolean)): Likewise.
(getDeclaredConstructors()): Return Constructor<?>[].
(getDeclaredConstructors(boolean)): Likewise.
(getDeclaredMethod(String,Class<?>...)): Add type
parameter to parameters.
(getInterfaces()): Return Class<?>[].
(getMethods(String,Class<?>...)): Add type
parameter to parameters.
* java/text/CollationKey.java:
Make non-final.
* java/text/DecimalFormatSymbols.java:
Likewise.
|
|
|
|
|
|
|
|
|
| |
* gnu/java/lang/management/BeanImpl.java:
(translate(String)): Comment out code for using type
variables for Map and List.
* java/lang/Thread.java:
(Thread(ThreadGroup,Runnable,String,long)): Fix
incrementation of totalThreadsCreated to be prior to use.
|
|
|
|
| |
* Merge of generics-branch to HEAD (woohoo!)
|
|
|
|
|
|
|
|
| |
* java/lang/management/ThreadInfo.java (ThreadInfo): Check
whether given a null lock and lockOwner.
(getLockName): Switch condition.
(getLockOwnerId): Likewise.
(getLockOwnerName): Likewise.
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/lang/management/BeanImpl.java:
(translate(String)): Don't assume the list uses "E",
just use the first and only type variable.
* java/lang/management/ManagementFactory.java:
(getPlatformMBeanServer()): Register logging bean.
* javax/management/openmbean/OpenType.java:
(OpenType(String,String,String)): Actually use
the string created to handle arrays.
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/javax/management/Server.java:
Make map final and initialise it.
(unregisterMBean(ObjectName)): Match against
delegate's object name and not the instance.
* java/lang/management/ManagementFactory.java:
Added constant fields.
(getPlatformMBeanServer()): Implemented.
* javax/management/MBeanServerFactory.java: New file.
|
|
|
|
| |
* java/lang/Thread.java: Javadoc fixes.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/lang/ref/Reference.java
(queue, nextOnQueue): Made volatile.
(enqueue): Made thread safe.
* java/lang/ref/ReferenceQueue.java
(lock): New field.
(poll): Removed synchronized.
(enqueue): Changed to synchronize on lock object, to update Reference
state and return success status.
(dequeue, remove): Synchronize on lock object.
|
|
|
|
|
| |
* java/lang/management/ManagementFactory.java:
Updated documentation.
|
|
|
|
|
|
|
| |
* StrictMath.java (cbrt): Return argument if it is a NaN.
(cosh): Likewise.
(expm1): Likewise.
(sinh): Likewise.
|
|
|
|
| |
* java/lang/StrictMath.java (tanh): New method.
|
|
|
|
| |
* java/lang/StrictMath.java (sinh): New method.
|
|
|
|
|
|
|
|
|
| |
* StrictMath.java (getLowDWord): Return long instead of int.
(getHighDWord): Likewise.
(buildDouble): Take two long arguments.
(cbrt): Adapted to int -> long change.
(expm1): Likewise.
(cosh): Likewise.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/lang/management/BeanImpl.java:
Extended javax.management.StandardMBean.
* gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
* gnu/java/lang/management/CompilationMXBeanImpl.java,
* gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
* gnu/java/lang/management/MemoryMXBeanImpl.java,
* gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
* gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
* gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
* gnu/java/lang/management/RuntimeMXBeanImpl.java,
* gnu/java/lang/management/ThreadMXBeanImpl.java:
Call the superclass with the appropriate class.
* java/lang/management/ManagementFactory.java:
(getOperatingSystemMXBean()): Catch exception from
StandardMBean.
(getRuntimeMXBean()): Likewise.
(getClassLoadingMXBean()): Likewise.
(getThreadMXBean()): Likewise.
(getMemoryMXBean()): Likewise.
(getCompilationMXBean()): Likewise.
(getMemoryPoolMXBeans()): Likewise.
(getMemoryManagerMXBeans()): Likewise.
(getGarbageCollectorMXBeans()): Likewise.
* javax/management/MBeanFeatureInfo.java:
(hashCode()): Fixed to check for null values.
|
|
|
|
|
|
|
|
|
|
| |
* StrictMath.java (cosh): New method.
(expm1): New method.
(EXPM1_Q1): New field.
(EXPM1_Q2): Likewise.
(EXPM1_Q3): Likewise.
(EXPM1_Q4): Likewise.
(EXPM1_Q6): Likewise.
|
|
|
|
|
| |
* lib/mkcollections.pl.in (javautilclasses): Add Iterable.
* lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
|
|
|
|
|
|
|
|
|
|
| |
* doc/vmintegration.texinfo:
Document getType(String).
* gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
* java/lang/management/MemoryPoolMXBean.java:
(getType()): Implemented.
* vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
(getType(String)): Implemented.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/vmintegration.texinfo:
Mention callback methods.
* gnu/java/lang/management/MemoryMXBeanImpl.java:
(fireNotification(String,String,long,long,long,long,long)):
Made package-private.
(fireThresholdExceededNotification(String,long,long,long,
long,long)): Likewise.
(fireCollectionThresholdExceededNotification(String,long,
long,long,long,long)): Likewise.
* java/lang/management/MemoryMXBean.java:
Document notifications.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gnu/java/lang/management/MemoryMXBeanImpl.java:
(fireNotification(String,String,long,long,long,long,long)):
Implemented.
(fireThresholdExceededNotification(String,long,long,long,
long,long)): Likewise.
(fireCollectionThresholdExceededNotification(String,long,
long,long,long,long)): Likewise.
* java/lang/management/MemoryNotificationInfo.java:
Use composite type from MemoryMXBeanImpl.
* javax/management/openmbean/CompositeData.java:
Correct documentation.
* javax/management/openmbean/CompositeDataSupport.java,
* javax/management/openmbean/InvalidKeyException.java:
New files.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/lang/StrictMath.java (cbrt): New method.
(getLowDWord): New helper method.
(getHighDWord): Likewise.
(buildDouble): Likewise.
(CBRT_B1): New field.
(CBRT_B2): Likewise.
(CBRT_C): Likewise.
(CBRT_D): Likewise.
(CBRT_E): Likewise.
(CBRT_F): Likewise.
(CBRT_G): Likewise.
|
|
|
|
|
| |
* java/lang/management/MemoryNotificationInfo.java:
New file.
|
|
|
|
|
| |
* java/lang/management/ManageFactory.java:
(getMemoryManagerMXBeans()): Use addAll, not add.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* java/lang/management/MemoryUsage.java:
(from(javax.management.openmbean.CompositeData)):
Implemented.
* java/lang/management/ThreadInfo.java:
Changed to use open types throughout for the state.
(ThreadInfo(long,String,String,long,long,String,
long,String,long,long,boolean,StackTraceElement[])):
New constructor.
(checkAttribute(javax.management.openmbean.CompositeType,
String, javax.management.openmbean.OpenType)): New method.
(from(javax.management.openmbean.CompositeData)):
Implemented.
(getLockName()): Fixed to use new variable.
(getLockOwnerId()): Likewise.
(getLockOwnerName()): Likewise.
(getThreadId()): Likewise.
(getThreadName()): Likewise.
(getThreadState()): Likewise.
(toString()): Refactored to use new variables.
* javax/management/openmbean/ArrayType.java:
New file.
* javax/management/openmbean/CompositeType.java:
Variables should be transient, not volatile.
* javax/management/openmbean/OpenDataException.java:
(serialVersionUID): Added.
* javax/management/openmbean/SimpleType.java:
New file.
* javax/management/openmbean/TabularType.java
Variables should be transient, not volatile.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* NEWS: Updated.
* doc/vmintegration.texinfo: Likewise.
* examples/gnu/classpath/examples/management/TestGarbageCollector.java,
* examples/gnu/classpath/examples/management/TestMemoryManager.java,
* gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
* gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
* java/lang/management/GarbageCollectorMXBean.java:
New files.
* java/lang/management/ManagementFactory.java:
(getGarbageCollectorMXBeans()): Implemented.
(getMemoryManagerMXBeans()): Likewise.
* vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
* vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
New files.
* vm/reference/java/lang/management/VMManagementFactory.java:
(getMemoryManagerNames()): Added.
(getGarbageCollectorNames()): Added.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* NEWS: Updated.
* doc/vmintegration.texinfo: Likewise.
* examples/gnu/classpath/examples/management/TestMemoryPool.java,
* gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
New files.
* java/lang/management/ManagementFactory.java:
(getMemoryPoolMXBeans()): Implemented.
* vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
* vm/reference/java/lang/management/VMManagementFactory.java:
New files.
|
|
|
|
|
| |
* java/lang/management/MemoryPoolMXBean.java:
New file.
|