Compare commits

...

1618 Commits

Author SHA1 Message Date
J. Duke
d9942bb3c6 Merge 2017-07-05 17:08:23 +02:00
J. Duke
1044cffd9f Merge 2017-07-05 17:08:21 +02:00
J. Duke
af05a73b36 Merge 2017-07-05 17:08:17 +02:00
J. Duke
e939b0af55 Merge 2017-07-05 17:08:15 +02:00
J. Duke
677ffba656 Merge 2017-07-05 17:08:12 +02:00
J. Duke
82bd08fd05 Merge 2017-07-05 17:08:10 +02:00
J. Duke
e719b79545 Merge 2017-07-05 17:08:03 +02:00
J. Duke
056f97db02 Added tag jdk7-b85 for changeset b6f633a93ae0 2017-07-05 17:07:54 +02:00
J. Duke
1408dbfdbe Merge 2017-07-05 17:07:54 +02:00
J. Duke
581e4116ec Merge 2017-07-05 17:07:51 +02:00
J. Duke
5ac1691759 Merge 2017-07-05 17:07:47 +02:00
J. Duke
29da2d6059 Merge 2017-07-05 17:07:45 +02:00
J. Duke
66a0954424 Merge 2017-07-05 17:07:43 +02:00
J. Duke
d05c77bdf0 Merge 2017-07-05 17:07:40 +02:00
J. Duke
2a969c48db Merge 2017-07-05 17:07:36 +02:00
J. Duke
852eff2850 Added tag jdk7-b84 for changeset b1e55627a698 2017-07-05 17:07:26 +02:00
J. Duke
b7ee18f903 Merge 2017-07-05 17:07:26 +02:00
J. Duke
b6eab62610 Merge 2017-07-05 17:07:23 +02:00
J. Duke
746ad686ff Merge 2017-07-05 17:07:18 +02:00
J. Duke
1d27e4abd3 Merge 2017-07-05 17:07:16 +02:00
J. Duke
5ba1f90e9f Merge 2017-07-05 17:07:14 +02:00
J. Duke
75805658e2 Merge 2017-07-05 17:07:12 +02:00
J. Duke
8f1ed2e37e Merge 2017-07-05 17:07:03 +02:00
J. Duke
47d4143fee Added tag jdk7-b83 for changeset 34c8199936a1 2017-07-05 17:06:56 +02:00
J. Duke
b0a0e766a0 Merge 2017-07-05 17:06:55 +02:00
J. Duke
0ec5e88e3e Merge 2017-07-05 17:06:53 +02:00
J. Duke
b8bc4fca80 Merge 2017-07-05 17:06:50 +02:00
J. Duke
2c1f7683c7 Merge 2017-07-05 17:06:48 +02:00
J. Duke
b99b05f872 Merge 2017-07-05 17:06:46 +02:00
J. Duke
807781069f Merge 2017-07-05 17:06:43 +02:00
J. Duke
2fc5049c9e Merge 2017-07-05 17:06:41 +02:00
J. Duke
d7489b80de Added tag jdk7-b82 for changeset a30062be6d9c 2017-07-05 17:06:29 +02:00
J. Duke
6a6913f754 Merge 2017-07-05 17:06:28 +02:00
J. Duke
d483483dca Merge 2017-07-05 17:06:26 +02:00
J. Duke
c48fcc4f1c Merge 2017-07-05 17:06:23 +02:00
J. Duke
e51c0226bf Merge 2017-07-05 17:06:21 +02:00
J. Duke
999f8de959 Merge 2017-07-05 17:06:19 +02:00
J. Duke
7d76d2b86a Merge 2017-07-05 17:06:17 +02:00
J. Duke
a831f80cea Merge 2017-07-05 17:06:15 +02:00
J. Duke
04d32968fe Added tag jdk7-b81 for changeset dcc938ac40cc 2017-07-05 17:06:08 +02:00
J. Duke
0b2e54aa23 Merge 2017-07-05 17:06:08 +02:00
J. Duke
d737d33cfc Merge 2017-07-05 17:06:06 +02:00
J. Duke
12f9d970b6 Merge 2017-07-05 17:06:02 +02:00
J. Duke
2fe9d30321 Merge 2017-07-05 17:06:00 +02:00
J. Duke
b48051977c Merge 2017-07-05 17:05:58 +02:00
J. Duke
ad18101c5a Merge 2017-07-05 17:05:55 +02:00
J. Duke
4ba73bcc85 Merge 2017-07-05 17:05:50 +02:00
J. Duke
067def0f1b Added tag jdk7-b80 for changeset e6abd38682d2 2017-07-05 17:05:41 +02:00
J. Duke
13ad3ed8b9 Merge 2017-07-05 17:05:40 +02:00
J. Duke
8d6221f091 Merge 2017-07-05 17:05:38 +02:00
J. Duke
9aa48d7d95 Merge 2017-07-05 17:05:35 +02:00
J. Duke
fc2e528980 Merge 2017-07-05 17:05:33 +02:00
J. Duke
f03973e260 Merge 2017-07-05 17:05:30 +02:00
J. Duke
ecdc744638 Merge 2017-07-05 17:05:27 +02:00
J. Duke
1cad37e136 Merge 2017-07-05 17:05:21 +02:00
J. Duke
d035093f93 Added tag jdk7-b79 for changeset e9c98378f6b9 2017-07-05 17:05:08 +02:00
J. Duke
2ff37874ef Merge 2017-07-05 17:05:07 +02:00
J. Duke
cb9d0253da Merge 2017-07-05 17:05:05 +02:00
J. Duke
f95352e36f Merge 2017-07-05 17:05:01 +02:00
J. Duke
04f02966d3 Merge 2017-07-05 17:04:58 +02:00
J. Duke
c825745e54 Merge 2017-07-05 17:04:56 +02:00
J. Duke
27cdb7684e Merge 2017-07-05 17:04:53 +02:00
J. Duke
c22732520a Merge 2017-07-05 17:04:46 +02:00
J. Duke
539d50484a Added tag jdk7-b78 for changeset 4061c66ba1af 2017-07-05 17:04:29 +02:00
J. Duke
9cb97e1c64 Merge 2017-07-05 17:04:28 +02:00
J. Duke
8301957f49 Merge 2017-07-05 17:04:26 +02:00
J. Duke
250c35c0b8 Merge 2017-07-05 17:04:22 +02:00
J. Duke
f1936555de Merge 2017-07-05 17:04:19 +02:00
J. Duke
a6cbbb8cae Merge 2017-07-05 17:04:16 +02:00
J. Duke
9eb6d5d118 Merge 2017-07-05 17:04:13 +02:00
J. Duke
bb704c5f6f Merge 2017-07-05 17:03:59 +02:00
J. Duke
8cc7f24be1 Added tag jdk7-b77 for changeset 1d0121b741f0 2017-07-05 17:03:52 +02:00
J. Duke
b25112408f Merge 2017-07-05 17:03:51 +02:00
J. Duke
e6a750f07e Merge 2017-07-05 17:03:49 +02:00
J. Duke
9fc9da3ac9 Merge 2017-07-05 17:03:46 +02:00
J. Duke
7d8f051421 Merge 2017-07-05 17:03:43 +02:00
J. Duke
62c247e129 Merge 2017-07-05 17:03:41 +02:00
J. Duke
0ee48d374f Merge 2017-07-05 17:03:37 +02:00
J. Duke
f2ef5d8af1 Merge 2017-07-05 17:03:13 +02:00
J. Duke
709cc05d62 Added tag jdk7-b76 for changeset 09e0b33177af 2017-07-05 17:03:06 +02:00
J. Duke
d49120d466 Merge 2017-07-05 17:03:05 +02:00
J. Duke
445e0b26e8 Merge 2017-07-05 17:03:03 +02:00
J. Duke
b338253f96 Merge 2017-07-05 17:02:58 +02:00
J. Duke
9928bdac3a Merge 2017-07-05 17:02:54 +02:00
J. Duke
323507a751 Merge 2017-07-05 17:02:50 +02:00
J. Duke
e17d47dff5 Merge 2017-07-05 17:02:46 +02:00
J. Duke
3c32489727 Merge 2017-07-05 17:02:41 +02:00
J. Duke
84f6540bcd Added tag jdk7-b75 for changeset 946518568340 2017-07-05 17:02:28 +02:00
J. Duke
53c56beacc Merge 2017-07-05 17:02:28 +02:00
J. Duke
1609d23ef1 Merge 2017-07-05 17:02:26 +02:00
J. Duke
02763a9e6d Merge 2017-07-05 17:02:23 +02:00
J. Duke
6d5757806b Merge 2017-07-05 17:02:21 +02:00
J. Duke
6d3af94abf Merge 2017-07-05 17:02:18 +02:00
J. Duke
248d612e4a Merge 2017-07-05 17:02:15 +02:00
J. Duke
f081b1f2e8 Merge 2017-07-05 17:02:09 +02:00
J. Duke
69c643745a Added tag jdk7-b74 for changeset 4e7661eaa211 2017-07-05 17:01:56 +02:00
J. Duke
4d263d042f Merge 2017-07-05 17:01:55 +02:00
J. Duke
9882433fe4 Merge 2017-07-05 17:01:52 +02:00
J. Duke
2fc8097001 Merge 2017-07-05 17:01:48 +02:00
J. Duke
1f81c46334 Merge 2017-07-05 17:01:45 +02:00
J. Duke
b3ce3d8d05 Merge 2017-07-05 17:01:42 +02:00
J. Duke
629669567b Merge 2017-07-05 17:01:39 +02:00
J. Duke
9b746af421 Merge 2017-07-05 17:01:25 +02:00
J. Duke
edb2586655 Added tag jdk7-b73 for changeset ce74bd35ce94 2017-07-05 17:01:15 +02:00
J. Duke
ac3412974f Merge 2017-07-05 17:01:15 +02:00
J. Duke
758d479de5 Merge 2017-07-05 17:01:13 +02:00
J. Duke
80fbf1a170 Merge 2017-07-05 17:01:09 +02:00
J. Duke
ab2a3b614c Merge 2017-07-05 17:01:05 +02:00
J. Duke
2efb7b7f9f Merge 2017-07-05 17:01:02 +02:00
J. Duke
5aedb52487 Merge 2017-07-05 17:00:57 +02:00
J. Duke
44cf49d7be Merge 2017-07-05 17:00:49 +02:00
J. Duke
46f3972d89 Added tag jdk7-b72 for changeset df4bcd06e1d0 2017-07-05 17:00:34 +02:00
J. Duke
e21ea57f72 Merge 2017-07-05 17:00:34 +02:00
J. Duke
990d62469c Merge 2017-07-05 17:00:31 +02:00
J. Duke
ff1e83ec96 Merge 2017-07-05 17:00:25 +02:00
J. Duke
b4f3178fa2 Merge 2017-07-05 17:00:22 +02:00
J. Duke
df281bcfc4 Merge 2017-07-05 17:00:20 +02:00
J. Duke
c0f57c3cc9 Merge 2017-07-05 17:00:17 +02:00
J. Duke
d5d67fd057 Merge 2017-07-05 17:00:08 +02:00
J. Duke
b622e83242 Added tag jdk7-b71 for changeset c5d39b6be65c 2017-07-05 16:59:56 +02:00
J. Duke
2e480a6f2b Merge 2017-07-05 16:59:55 +02:00
J. Duke
2fcdf2e09c Merge 2017-07-05 16:59:53 +02:00
J. Duke
5b7cb8bdc8 Merge 2017-07-05 16:59:48 +02:00
J. Duke
8918fda4f4 Merge 2017-07-05 16:59:46 +02:00
J. Duke
ab1bf94cb3 Merge 2017-07-05 16:59:43 +02:00
J. Duke
a03ce9d80a Merge 2017-07-05 16:59:39 +02:00
J. Duke
39c2fbd739 Merge 2017-07-05 16:59:32 +02:00
J. Duke
b467ec2dd4 Added tag jdk7-b70 for changeset 207f694795c4 2017-07-05 16:59:17 +02:00
J. Duke
a23f487d2d Merge 2017-07-05 16:59:17 +02:00
J. Duke
878c3094e8 Merge 2017-07-05 16:59:14 +02:00
J. Duke
a6ce90c2bb Merge 2017-07-05 16:59:08 +02:00
J. Duke
94b9558f88 Merge 2017-07-05 16:59:02 +02:00
J. Duke
9ffe95ffcc Merge 2017-07-05 16:58:57 +02:00
J. Duke
4c3d527e86 Merge 2017-07-05 16:58:54 +02:00
J. Duke
71731e8436 Merge 2017-07-05 16:58:30 +02:00
J. Duke
a88f2106e1 Added tag jdk7-b69 for changeset 1b662b1ed14e 2017-07-05 16:58:21 +02:00
Lana Steuck
a5884c7b3d Merge 2010-03-09 15:29:45 -08:00
Lana Steuck
55ca6aeb17 Merge 2010-03-09 15:29:13 -08:00
Lana Steuck
0ab8de7b57 Merge 2010-03-09 15:28:35 -08:00
Lana Steuck
4a25f3ef9c Merge 2010-03-09 15:28:09 -08:00
Lana Steuck
6df5f2e72d Merge 2010-03-09 15:26:32 -08:00
Erik Trimble
dbcabb71d7 Added tag hs17-b10 for changeset bd3cc6d99492 2010-03-08 15:50:52 -08:00
Yumin Qi
9e32d0d9d1 6918065: Crash in Java2D blit loop (IntArgbToIntArgbPreSrcOverMaskBlit) in 64bit mode
Reviewed-by: igor, bae
2010-03-08 11:35:30 -08:00
Kelly O'Hair
a347591e2d Merge 2010-03-06 15:01:19 -08:00
Kelly O'Hair
891aa6bb9f 6928700: Configure top repo for JPRT testing
Reviewed-by: alanb, jjg
2010-03-06 15:00:40 -08:00
Kelly O'Hair
e4fce69702 6915983: testing problems, adjusting list of tests, needs some investigation
Reviewed-by: alanb
2010-03-06 14:59:23 -08:00
Jonathan Gibbons
aa0b8a3b12 Merge 2010-03-05 16:13:58 -08:00
Jonathan Gibbons
3c60c0e8ef 6930108: IllegalArgumentException in AbstractDiagnosticFormatter for tools/javac/api/TestJavacTaskScanner.jav
Reviewed-by: darcy
2010-03-05 16:12:33 -08:00
Michael Wilkerson
1e5ad14ac6 Added tag jdk7-b85 for changeset 6830a7ec21d0 2010-03-04 13:50:33 -08:00
Michael Wilkerson
e3eb006760 Added tag jdk7-b85 for changeset 5751e91f963a 2010-03-04 13:50:23 -08:00
Michael Wilkerson
d535de5c40 Added tag jdk7-b85 for changeset 58d57db8348f 2010-03-04 13:50:18 -08:00
Michael Wilkerson
e2d20d45a8 Added tag jdk7-b85 for changeset cdc37d7f9bba 2010-03-04 13:50:18 -08:00
Michael Wilkerson
d1d696c305 Added tag jdk7-b85 for changeset 448969041d3d 2010-03-04 13:50:13 -08:00
Michael Wilkerson
bca6339a72 Added tag jdk7-b85 for changeset 3e4b803f1d22 2010-03-04 13:50:10 -08:00
Michael Wilkerson
5b75fb9387 Added tag jdk7-b85 for changeset 13d8d7dd8b00 2010-03-04 13:50:09 -08:00
Lana Steuck
6bea789770 Merge 2010-03-04 13:40:29 -08:00
Lana Steuck
954fd4b4d9 Merge 2010-03-04 13:40:03 -08:00
Lana Steuck
35bf330316 Merge 2010-03-04 13:07:48 -08:00
Sergey Malenkov
b3a9b5dca9 6921644: XMLEncoder generates invalid XML
Reviewed-by: peterz
2010-03-04 21:17:03 +03:00
Jonathan Gibbons
953e026858 6931126: jtreg tests not Windows friendly
Reviewed-by: darcy
2010-03-03 19:34:34 -08:00
Weijun Wang
3f4b3b1488 6880321: sun.security.provider.JavaKeyStore abuse of OOM Exception handling
Reviewed-by: xuelei
2010-03-04 10:38:12 +08:00
Weijun Wang
3733e13046 6923681: Jarsigner crashes during timestamping
Reviewed-by: vinnie
2010-03-04 10:38:00 +08:00
Weijun Wang
8055ab99b7 6844909: support allow_weak_crypto in krb5.conf
Reviewed-by: valeriep
2010-03-04 10:37:16 +08:00
Jonathan Gibbons
a7dbb87f0e 6931927: position issues with synthesized anonymous class
Reviewed-by: darcy
2010-03-03 17:22:52 -08:00
Joe Darcy
077b9d9f1b 6449781: TypeElement.getQualifiedName for anonymous classes returns null instead of an empty name
Reviewed-by: jjg
2010-03-03 16:05:34 -08:00
Kelly O'Hair
fa7b68252b 6931763: sanity checks broken with latest cygwin, newer egrep -i option problems
Reviewed-by: jjg
2010-03-03 11:29:44 -08:00
Pavel Porvatov
8b6f1b6e6f 6917744: JScrollPane Page Up/Down keys do not handle correctly html tables with different cells contents
Reviewed-by: peterz, alexp
2010-03-03 20:53:35 +03:00
Pavel Porvatov
8f8262e829 6913768: With default SynthLookAndFeel instance installed new JTable creation leads to throwing NPE
Reviewed-by: peterz
2010-03-03 20:08:55 +03:00
Alan Bateman
140ed0124d 6931216: TEST_BUG: test/java/nio/file/WatchService/LotsOfEvents.java failed with NPE
Reviewed-by: chegar
2010-03-03 16:09:36 +00:00
Pavel Porvatov
d859ed231e 6924059: SynthScrollBarUI.configureScrollBarColors() should have spec different from the overridden method
Reviewed-by: peterz
2010-03-03 17:57:25 +03:00
Roman Kennke
d500623121 6892485: Deadlock in SunGraphicsEnvironment / FontManager
Synchronize on correct monitor in SunFontManager.

Reviewed-by: igor, prr
2010-03-03 15:50:33 +01:00
Jonathan Gibbons
87efbd8787 6931127: strange test class files
Reviewed-by: darcy
2010-03-02 16:43:29 -08:00
Jonathan Gibbons
d55b727361 6931482: minor findbugs fixes
Reviewed-by: darcy
2010-03-02 16:40:37 -08:00
Joe Darcy
2b4f43efeb 6931130: Remove unused AnnotationCollector code from JavacProcessingEnvironment
Reviewed-by: jjg
2010-03-02 14:06:47 -08:00
Lana Steuck
438e92ebe0 Merge 2010-03-01 18:30:05 -08:00
Vinnie Ryan
d996cb8440 Merge 2010-03-01 18:00:47 +00:00
Vinnie Ryan
0f70e6a821 6921001: api/java_security/IdentityScope/IdentityScopeTests.html#getSystemScope fails starting from b78 JDK7
Reviewed-by: mullan
2010-03-01 17:54:31 +00:00
Alan Bateman
16b8431cf3 6921374: java.lang.String::hashCode() should check for count == 0 to avoid repeated stores hash = 0
Reviewed-by: darcy, ohair
2010-02-27 19:29:15 +00:00
Alan Bateman
ab0eb81f5b 6815768: File.getxxxSpace() methods fail for very large file systems under 32bit Java
Reviewed-by: ohair
2010-02-27 19:26:59 +00:00
Vladimir Yaroslavskiy
32d811b1f7 6929259: Remove double spaces from Dual-pivot quicksort
Reviewed-by: alanb
2010-02-27 19:15:28 +00:00
Sebastian Sickelmann
c9776d3175 6929532: (file) WatchService should avoid queuing new modify events when lots of files are changing
Reviewed-by: alanb
2010-02-27 18:18:33 +00:00
Pavel Porvatov
2dd1ee93df 6929298: The SynthSliderUI#calculateTickRect method should be removed
Reviewed-by: peterz
2010-02-27 16:14:43 +03:00
Pavel Porvatov
0a231a50e2 6923305: SynthSliderUI paints the slider track when the slider's "paintTrack" property is set to false
Reviewed-by: alexp
2010-02-27 16:03:05 +03:00
Pavel Porvatov
81941ba314 6918861: SynthSliderUI.uninstallDefaults() is not called when UI is uninstalled
Reviewed-by: malenkov
2010-02-27 15:09:16 +03:00
Pavel Porvatov
9dd15f9fc9 6918447: SynthToolBarUI.setBorderToXXXX() methods don't correspond inherited spec. They do nothing
Reviewed-by: peterz
2010-02-27 14:47:38 +03:00
Pavel Porvatov
c1ce8910fd 6913758: Specification for SynthViewportUI.paintBorder(...) should mention that this method is never called
Reviewed-by: peterz
2010-02-27 14:26:04 +03:00
Jonathan Gibbons
a5c51fcd1d 6930032: fix findbugs errors in com.sun.tools.javac.comp
Reviewed-by: darcy
2010-02-26 15:30:35 -08:00
Jonathan Gibbons
9ce36383eb 6930076: "null" can incorrectly appear in error message compiler.err.error.reading.file
Reviewed-by: darcy
2010-02-26 15:26:58 -08:00
Jonathan Gibbons
97162a48b1 6881645: Unchecked method call on a method declared inside anonymous inner causes javac to crash
Reviewed-by: mcimadamore
2010-02-26 08:42:22 -08:00
Jonathan Gibbons
02289ebec3 6893943: exit code from javah with no args is 0
Reviewed-by: darcy
2010-02-25 13:32:08 -08:00
Jonathan Gibbons
54cd0cc441 6929544: langtools source code uses statics qualified by instance variables
Reviewed-by: darcy
2010-02-25 12:26:39 -08:00
Joe Darcy
0f2c1bcc27 6929645: Address various findbugs warnings in langtools
Reviewed-by: jjg
2010-02-25 11:04:11 -08:00
Jonathan Gibbons
0cc023734d 4880220: Add a warning when accessing a static method via an reference
Reviewed-by: darcy
2010-02-25 09:42:35 -08:00
Xue-Lei Andrew Fan
3f2af07ba1 6916202: More cases of invalid ldap filters accepted and processed
Reviewed-by: vinnie, weijun
2010-02-25 13:32:40 +08:00
Joe Darcy
5925b23d55 6929382: Various core classes in util and elsewhere are missing @param <T> tags
Reviewed-by: dholmes, martin
2010-02-24 10:48:18 -08:00
Jonathan Gibbons
f37b9d8245 6511613: javac unexpectedly doesn't fail in some cases if an annotation processor specified
Reviewed-by: darcy
2010-02-23 18:43:02 -08:00
Alan Bateman
bdfb60de8c 6926800: TEST_BUG: java/nio/file/Files/walk_file_tree.sh fails with newer versions of find(1)
Reviewed-by: forax
2010-02-23 18:21:31 +00:00
Alan Bateman
d5dc027db9 6928960: make modules fails to build class analyzer
Reviewed-by: mchung
2010-02-23 18:19:53 +00:00
Lana Steuck
3333ae29a5 Merge 2010-02-23 10:17:51 -08:00
Lana Steuck
3762906a4c Merge 2010-02-23 10:17:16 -08:00
Alan Bateman
4623333de0 6925932: (file) Path.endsWith can throw ArrayIndexOutOfBoundsException (unx)
Reviewed-by: chegar
2010-02-23 17:58:30 +00:00
Alan Bateman
4337f1df36 6925977: (file) test/java/nio/file/Path/CheckPermissions.java fails if test.src on read-only file system
Reviewed-by: chegar
2010-02-23 17:56:55 +00:00
Chris Hegarty
6c012bed48 6365587: Proxy-Connection header sent through tunnel
Reviewed-by: michaelm
2010-02-23 17:08:23 +00:00
Andrew John Hughes
0592bca0a5 6928623: Behaviour of VERBOSE=true on langtools build
VERBOSE=true causes -diagnostics to be passed to ant rather than -debug

Reviewed-by: jjg
2010-02-22 21:37:13 +00:00
Damjan Jovanovic
6e3ed53d0a 6912868: "java.net.useSystemProxies" behavior fails to check "use_same_proxy" in GNOME
Reviewed-by: alanb, chegar
2010-02-22 15:27:11 +00:00
Lana Steuck
8fe58d00ab Merge 2010-02-19 15:13:37 -08:00
Erik Trimble
fbd3f3a787 6927886: Bump the HS17 build number to 10
Update the HS17 build number to 10

Reviewed-by: jcoomes
2010-02-18 22:16:12 -08:00
Erik Trimble
1fc852832b Merge 2010-02-18 22:15:35 -08:00
Jonathan Gibbons
19147ccb61 6927797: langtools/test/tools/javac/EarlyAssert.java fails when run with assertions enabled (-ea)
Reviewed-by: darcy
2010-02-18 15:41:36 -08:00
Michael Wilkerson
5e91da1b95 Added tag jdk7-b84 for changeset ae856f7b6776 2010-02-18 13:31:57 -08:00
Michael Wilkerson
0d12029d1b Added tag jdk7-b84 for changeset b8df1478b109 2010-02-18 13:31:46 -08:00
Michael Wilkerson
b4e8419abe Added tag jdk7-b84 for changeset be1133a82187 2010-02-18 13:31:41 -08:00
Michael Wilkerson
a2494d2da2 Added tag jdk7-b84 for changeset 1a0d508d727c 2010-02-18 13:31:37 -08:00
Michael Wilkerson
85b4073f99 Added tag jdk7-b84 for changeset 31557f5428d0 2010-02-18 13:31:31 -08:00
Michael Wilkerson
4b22090ca4 Added tag jdk7-b84 for changeset a10244151b29 2010-02-18 13:31:27 -08:00
Michael Wilkerson
d0d4cbff17 Added tag jdk7-b84 for changeset a1aa32963dec 2010-02-18 13:31:26 -08:00
Christian Thalinger
c3066e0605 Merge 2010-02-18 10:44:14 -08:00
Gary Benson
51b9396b40 6927165: Zero S/390 fixes
Fixes two failures on 31-bit S/390.

Reviewed-by: twisti
2010-02-18 06:54:48 -08:00
Sergey Malenkov
424fef5437 4498236: RFE: Provide a toString method for PropertyChangeEvent and other classes
Reviewed-by: peterz
2010-02-18 17:46:40 +03:00
Christian Thalinger
0c605ed991 6926782: CodeBuffer size too small after 6921352
After 6921352 the CodeBuffer size was too small.

Reviewed-by: kvn, never
2010-02-18 11:35:41 +01:00
Lana Steuck
4a3a9a4c1d Merge 2010-02-17 16:29:08 -08:00
Joe Darcy
e985558459 6927061: Refactor apt implemenation to use code from JSR 269
Reviewed-by: jjg
2010-02-17 14:30:17 -08:00
Lana Steuck
dfcbef95d6 Merge 2010-02-17 10:25:26 -08:00
Lana Steuck
642193f708 Merge 2010-02-17 10:24:30 -08:00
Tom Rodriguez
51fc36cc9a 6877221: Endless deoptimizations in OSR nmethod
Reviewed-by: kvn
2010-02-16 20:07:48 -08:00
Vladimir Kozlov
892336beb1 6926697: "optimized" VM build failed: The type "AdapterHandlerTableIterator" is incomplete
Define AdapterHandlerTableIterator class as non product instead of debug.

Reviewed-by: never
2010-02-16 16:17:46 -08:00
John Cuthbertson
e475437c5a Merge 2010-02-16 14:11:44 -08:00
Joe Darcy
b8574a9e3b 6926703: apt tests should run with assertions enabled
Reviewed-by: jjg
2010-02-15 20:17:57 -08:00
Joe Darcy
779ba4bd83 6926699: Annotation processing regression tests should typically return SourceVersion.latest
Reviewed-by: jjg
2010-02-15 20:06:11 -08:00
Joe Darcy
1fb4cb4242 6634138: Source generated in last round not compiled
Reviewed-by: jjg
2010-02-15 18:20:57 -08:00
Jonathan Gibbons
f9cbc20c10 6926555: 6921979 breaks TreePosTest
Reviewed-by: darcy
2010-02-15 16:09:50 -08:00
Mandy Chung
107e891c1b Merge 2010-02-15 10:18:55 -08:00
Lana Steuck
c6007b2aa2 Merge 2010-02-14 23:39:40 -08:00
Lana Steuck
25d32f61f3 Merge 2010-02-14 23:38:50 -08:00
Lana Steuck
c117042197 Merge 2010-02-14 23:35:12 -08:00
Vladimir Kozlov
9110d86267 Merge 2010-02-12 15:27:36 -08:00
Michael Wilkerson
bad9881310 Added tag jdk7-b83 for changeset 36fcedcbb231 2010-02-12 13:25:27 -08:00
Michael Wilkerson
706d8fd039 Added tag jdk7-b83 for changeset 063470ff633d 2010-02-12 13:25:18 -08:00
Michael Wilkerson
add74b6402 Added tag jdk7-b83 for changeset deb836072de4 2010-02-12 13:25:13 -08:00
Michael Wilkerson
e63e477ad4 Added tag jdk7-b83 for changeset ab248239edc6 2010-02-12 13:25:12 -08:00
Michael Wilkerson
d3c21e471a Added tag jdk7-b83 for changeset 36d525db29a0 2010-02-12 13:25:08 -08:00
Michael Wilkerson
d7e74ca520 Added tag jdk7-b83 for changeset 268bfb70324f 2010-02-12 13:25:05 -08:00
Michael Wilkerson
c92f773292 Added tag jdk7-b83 for changeset 109f388bca57 2010-02-12 13:25:03 -08:00
Mandy Chung
652882e3b4 6925868: Eliminate pack200's dependency on logging
Replace j.u.l.Logger with sun.util.logging.PlatformLogger

Reviewed-by: alanb, forax
2010-02-12 11:33:33 -08:00
Gary Benson
17a0e10b07 6926048: Improve Zero performance
Make Zero figure out result types in a similar way to C++ interpreter implementation.

Reviewed-by: kvn
2010-02-12 10:34:11 -08:00
Dmitry Cherepanov
2930227188 6705345: Enable multiple file selection in AWT FileDialog
Reviewed-by: art, anthony, alexp
2010-02-12 19:58:10 +03:00
Vladimir Kozlov
d4437819bd 6925249: assert(last_sp < (intptr_t*) interpreter_frame_monitor_begin(),"bad tos")
Fix assert since top deoptimized frame has last_sp == interpreter_frame_monitor_begin if there are no expressions.

Reviewed-by: twisti
2010-02-12 08:54:13 -08:00
Yuka Kamiya
f27acf4a2a 6921289: (tz) Support tzdata2010b
Reviewed-by: okutsu
2010-02-12 14:38:16 +09:00
Erik Trimble
394f79f57d Added tag hs15-b05 for changeset c77d20908054 2010-02-11 20:37:05 -08:00
Erik Trimble
e2d51faf01 Added tag hs15-b04 for changeset 0ea2576e714b 2010-02-11 20:37:03 -08:00
Erik Trimble
a4f8dd6290 Added tag hs15-b03 for changeset c5c3e5f4accc 2010-02-11 20:37:01 -08:00
Erik Trimble
a4ec1f8d33 Added tag hs15-b02 for changeset ccfb5ba09cb6 2010-02-11 20:36:59 -08:00
Erik Trimble
7a355435d6 Added tag hs15-b01 for changeset a128eac78670 2010-02-11 20:36:57 -08:00
Erik Trimble
01e49c956d Added tag hs16-b08 for changeset d716bbc29dcc 2010-02-11 20:11:47 -08:00
Erik Trimble
25c80d5c0c Added tag hs16-b07 for changeset 699915c095af 2010-02-11 20:11:45 -08:00
Erik Trimble
246dccdcea Added tag hs16-b06 for changeset 60611616dba4 2010-02-11 20:11:44 -08:00
Erik Trimble
ea13d3eda9 Added tag hs16-b05 for changeset 06171649948f 2010-02-11 20:11:42 -08:00
Erik Trimble
f2daf5d174 Added tag hs16-b04 for changeset 28ccf5edf0ec 2010-02-11 20:11:40 -08:00
Erik Trimble
59829da36c Added tag hs16-b03 for changeset 10154d4b4b4b 2010-02-11 20:11:38 -08:00
Erik Trimble
8660022372 Added tag hs16-b02 for changeset 86c4409e49f6 2010-02-11 20:11:37 -08:00
Erik Trimble
54083a72cb Added tag hs16-b01 for changeset 1ecc4413e7e7 2010-02-11 20:11:35 -08:00
Erik Trimble
db5d24ec8b Added tag hs17-b09 for changeset 246521c00249 2010-02-11 19:53:02 -08:00
Erik Trimble
7fc922d19f Added tag hs17-b08 for changeset 4197a09e1259 2010-02-11 19:53:01 -08:00
Erik Trimble
4b3a1713bd Added tag hs17-b07 for changeset 8f15a8afca28 2010-02-11 19:53:00 -08:00
Erik Trimble
d4d720b74c Added tag hs17-b06 for changeset 9b63533d5895 2010-02-11 19:52:59 -08:00
Erik Trimble
e8b9c40477 Added tag hs17-b05 for changeset 02d36709a16f 2010-02-11 19:52:58 -08:00
Erik Trimble
7eacf2d5f6 Added tag hs17-b04 for changeset ac997bc87110 2010-02-11 19:52:57 -08:00
Erik Trimble
e3d5b796ea Added tag hs17-b03 for changeset b95ea007fe67 2010-02-11 19:52:56 -08:00
Erik Trimble
222701d515 Added tag hs17-b02 for changeset 2248859f89d4 2010-02-11 19:52:55 -08:00
Erik Trimble
0c7a5610f8 Added tag hs17-b01 for changeset 0fa11a27fb57 2010-02-11 19:52:39 -08:00
Weijun Wang
ab8d48e851 6925639: keytool -genkeypair -help missing dname option
Reviewed-by: mullan
2010-02-12 10:24:02 +08:00
Igor Veresov
52b92d5593 6923991: G1: improve scalability of RSet scanning
Implemented block-based work stealing. Moved copying during the rset scanning phase to the main copying phase. Made the size of rset table depend on the region size.

Reviewed-by: apetrusenko, tonyp
2010-02-11 15:52:19 -08:00
Andrei Pangin
291a66ad2f Merge 2010-02-11 10:48:10 -08:00
Yuka Kamiya
cd890eddf0 6909002: Remove indicim.jar and thaiim.jar from JRE and move to samples if needed
Reviewed-by: okutsu
2010-02-11 15:58:49 +09:00
Mandy Chung
d9eac222f1 6915413: Module build: building of specified jdk components instead of all
Define new SUBDIRS_* variables for specifying components for one group

Reviewed-by: ohair
2010-02-10 17:51:07 -08:00
Chris Hegarty
ee38364a92 6693244: Java Web Start app fails on 6u10 beta w/ AssertionError in AuthenticationInfo.requestCompleted
Reviewed-by: michaelm
2010-02-10 13:23:50 +00:00
Pavel Porvatov
d56d72a823 6848475: JSlider does not display the correct value of its BoundedRangeModel
Reviewed-by: peterz
2010-02-10 15:15:03 +03:00
John Cuthbertson
0356567ed8 6782663: Data produced by PrintGCApplicationConcurrentTime and PrintGCApplicationStoppedTime is not accurate
Update and display the timers associated with these flags for all safepoints.

Reviewed-by: ysr, jcoomes
2010-02-09 13:56:09 -08:00
Vladimir Kozlov
1a1e145498 6924097: assert((_type == Type::MEMORY) == (_adr_type != 0),"adr_type for memory phis only")
Use PhiNode::make_blank(r, n) method to construct the phi.

Reviewed-by: never
2010-02-09 10:21:06 -08:00
Vladimir Kozlov
22409a5704 6910618: C2: Error: assert(d->is_oop(),"JVM_ArrayCopy: dst not an oop")
Mark in PcDesc call sites which return oop and save the result oop across objects reallocation during deoptimization.

Reviewed-by: never
2010-02-09 01:31:13 -08:00
Lana Steuck
bf5a0d88c1 Merge 2010-02-09 00:05:16 -08:00
Lana Steuck
4a34c2f90b Merge 2010-02-09 00:02:38 -08:00
Lana Steuck
c440b69d06 Merge 2010-02-09 00:00:38 -08:00
Lana Steuck
58baa04733 Merge 2010-02-08 23:59:53 -08:00
Lana Steuck
19f13aa80b Merge 2010-02-08 23:59:22 -08:00
Lana Steuck
8c00c873ad Merge 2010-02-08 23:58:47 -08:00
Mandy Chung
eee94572e3 6924497: HotSpotDiagnosticsMXBean.getDiagnosticOptions throws NPE
Check if the element in the flags array is non-null to filter unsupported flags

Reviewed-by: dcubed
2010-02-08 23:02:28 -08:00
Vladimir Kozlov
3f7a94c3f2 6910605: C2: NullPointerException/ClassCaseException is thrown when C2 with DeoptimizeALot is used
Set the reexecute bit for runtime calls _new_array_Java when they used for _multianewarray bytecode.

Reviewed-by: never
2010-02-08 12:20:09 -08:00
Antonios Printezis
a88853347f 6802453: G1: hr()->is_in_reserved(from),"Precondition."
The operations of re-using a RSet component and expanding the same RSet component were not mutually exlusive, and this could lead to RSets getting corrupted and entries being dropped.

Reviewed-by: iveresov, johnc
2010-02-08 14:23:01 -05:00
Neo Jia
7d7887d46c 6587322: dtrace probe object__alloc doesn't fire in some situations on amd64
Fix misplaced probe point

Reviewed-by: rasbold, phh
2010-02-08 13:49:03 -05:00
John Cuthbertson
e003616106 Merge 2010-02-08 09:58:32 -08:00
Yuri Nesterenko
cb926f8d9e 6882912: Strange behaviours when typing @ or '
Eliminate stray lines without a proper unicode->regularKeyID pair (e.g. as there is no "arrow left" unicode, should be no pair)

Reviewed-by: rupashka
2010-02-08 17:02:43 +03:00
Vladimir Kozlov
2fd8d35905 6923002: assert(false,"this call site should not be polymorphic")
Clear the total count when a receiver information is cleared.

Reviewed-by: never, jrose
2010-02-07 12:15:06 -08:00
Roman Kennke
c73000ad8f 6904882: java.awt.Font.createFont() causes AccessControlException if executed with "-Djava.security.manager"
Perform FontUtilities initialization in privileged block

Reviewed-by: igor, prr
2010-02-07 11:07:50 +01:00
Xueming Shen
ff1e82994b 6923692: java/classes_util TEST_BUG:ReadZip.java fails when
To create the test file at test.dir

Reviewed-by: alanb
2010-02-06 09:26:57 -08:00
Bradford Wetmore
9b4ec210a0 6923976: TestProviderLeak.java is using too small of an initial heap under newer Hotspot (b79+)
Reviewed-by: ohair
2010-02-05 17:05:53 -08:00
Erik Trimble
e266002e2d Merge 2010-02-05 16:21:06 -08:00
Erik Trimble
94ccfa4187 6921473: Bump the HS17 build number to 09
Update the HS17 build number to 09

Reviewed-by: jcoomes
2010-02-05 12:27:12 -08:00
Erik Trimble
7c54f15bde Merge 2010-02-05 12:26:35 -08:00
Tom Rodriguez
c1be36be1b 6920293: OptimizeStringConcat causing core dumps
Reviewed-by: kvn, twisti
2010-02-05 11:07:40 -08:00
Antonios Printezis
c157b744ed 6920977: G1: guarantee(k == probe->klass(),"klass should be in dictionary") fails
The guarantee is too strict and the test will fail (incorrectly) if the class is not in the system dictionary but in the placeholders.

Reviewed-by: acorn, phh
2010-02-05 11:05:50 -05:00
Xueming Shen
9ff3b18578 6919132: Regex \P{Lu} selects half of a surrogate pari
To use StartS for complement category/block class

Reviewed-by: martin, okutsu
2010-02-05 00:10:42 -08:00
Sergey Malenkov
81397ffe98 6921057: REGRESSION: persistence delegate issue on Windows and Linux against 5.u23b03/6u17b11
Reviewed-by: peterz, art
2010-02-05 10:36:12 +03:00
Andrei Pangin
134e70e53b Merge 2010-02-04 15:50:59 -08:00
Michael Wilkerson
297505b256 Added tag jdk7-b82 for changeset 737d10f28a89 2010-02-04 11:19:44 -08:00
Michael Wilkerson
a74b9f4e31 Added tag jdk7-b82 for changeset ca4ba6dd55c0 2010-02-04 11:19:33 -08:00
Michael Wilkerson
d78f930c16 Added tag jdk7-b82 for changeset d512637fe883 2010-02-04 11:19:28 -08:00
Michael Wilkerson
0bd596e2d2 Added tag jdk7-b82 for changeset 735cf3731da4 2010-02-04 11:19:27 -08:00
Michael Wilkerson
06f98d7a76 Added tag jdk7-b82 for changeset a84303f7ca26 2010-02-04 11:19:23 -08:00
Michael Wilkerson
eeed92dab3 Added tag jdk7-b82 for changeset 5960e50c8713 2010-02-04 11:19:20 -08:00
Michael Wilkerson
3ac46d640c Added tag jdk7-b82 for changeset 5560473b9cbe 2010-02-04 11:19:18 -08:00
Tom Rodriguez
22ce62f2d1 6921992: failure in verify scheduling after 6792161
Reviewed-by: kvn
2010-02-04 11:16:23 -08:00
Jonathan Gibbons
c9c72ab9da 6923080: TreeScanner.visitNewClass should scan tree.typeargs
Reviewed-by: darcy
2010-02-04 10:14:28 -08:00
Christian Thalinger
82ce2c602b Merge 2010-02-04 03:34:05 -08:00
Tom Rodriguez
af0c45705b Merge 2010-02-03 18:33:04 -08:00
Jonathan Gibbons
9dff5300ae 6921979: add test program to verify annotations are attached to nodes as expected
Reviewed-by: darcy
2010-02-03 16:58:57 -08:00
Kelly O'Hair
d647d7dfb4 6923146: Upgrade to JAXP 1.4.3
Reviewed-by: darcy
2010-02-03 16:44:51 -08:00
Hiroshi Yamauchi
688398edef 6921969: optimize 64 long multiply for case with high bits zero
Reviewed-by: never, twisti, kvn, rasbold
2010-02-03 15:56:37 -08:00
Vladimir Kozlov
d4878296c5 6923043: failed nightly tests which use -XX:+PrintCompilation -Xcomp -XX:CompileOnly
Print "made not compilable" line  only for deoptimizations.

Reviewed-by: never
2010-02-03 15:03:22 -08:00
Tom Rodriguez
aecc4f4081 6921922: fix for 6911204 breaks tagged stack interpreter
Reviewed-by: kvn
2010-02-03 12:28:30 -08:00
Mahmood Ali
9452aaa027 6922300: [308] populate the reference_info for type annotations targeting primitive class literals
Co-authored-by: Michael Ernst <mernst@cs.washington.edu>
Reviewed-by: darcy, jjg
2010-02-03 11:33:57 -08:00
Jonathan Gibbons
3485352c43 6922429: extend tree position test waiver
Reviewed-by: darcy
2010-02-03 11:28:21 -08:00
Weijun Wang
913e14a463 6922482: keytool's help on -file always shows 'output file'
Reviewed-by: wetmore
2010-02-03 17:04:52 +08:00
Roman Kennke
aafe7d7398 6896335: GraphicsEnvironment.getDefaultScreenDevice() throws UnsatisfiedLinkError in headless mode
Use local ge variable instead of localEnv field in GE.

Reviewed-by: igor, prr
2010-02-03 10:02:33 +01:00
John Cuthbertson
7f9ba03c32 6914402: G1: assert(!is_young_card(cached_ptr),"shouldn't get a card in young region")
Invalid assert. Filter cards evicted from the card count cache instead.

Reviewed-by: apetrusenko, tonyp
2010-02-02 18:39:50 -08:00
Mahmood Ali
b0d7cf8472 6918625: handle annotations on array class literals
Co-authored-by: Michael Ernst <mernst@cs.washington.edu>
Reviewed-by: jjg, darcy
2010-02-02 10:56:10 -08:00
Daniel D. Daugherty
8acae99fd8 Merge 2010-02-02 11:08:17 -07:00
Daniel D. Daugherty
54c04bca93 6918421: 1/1 in-process JVM now ignores preset Windows unhandled exception filter
Add support for chaining Windows UnhandledExceptionFilter handlers

Reviewed-by: kamg, dholmes, never, acorn, ikrylov
2010-02-02 10:37:32 -07:00
Roman Kennke
d5280868a3 6888734: PIT: regression test fails when java.security.manager is enabled
Load FontManager instance in privileged block to avoid AccessControlException

Reviewed-by: igor, tdv
2010-02-02 16:38:26 +01:00
Andrew John Hughes
d7c18f0617 6921740: Eliminate warnings from sun.io converters and allow compiling with JAVAC_MAX_WARNINGS=true
Fix sun.io converters unchecked and cast warnings produced by -Xlint:all

Reviewed-by: alanb, sherman
2010-02-02 10:55:07 +00:00
Y. Srinivas Ramakrishna
c61ab190cf 6904516: More object array barrier fixes, following up on 6906727
Fixed missing pre-barrier calls for G1, modified C1 to call pre- and correct post-barrier interfaces, deleted obsolete interface, (temporarily) disabled redundant deferred barrier in BacktraceBuilder.

Reviewed-by: coleenp, jmasa, kvn, never
2010-02-01 17:29:01 -08:00
Mahmood Ali
378a8861c0 6919986: [308] change size of type_index (of CLASS_EXTENDS and THROWS) from byte to short
Co-authored-by: Michael Ernst <mernst@cs.washington.edu>
Reviewed-by: darcy, jjg
2010-02-01 17:05:35 -08:00
Vladimir Kozlov
0c27c5537e 6614597: Performance variability in jvm2008 xml.validation
Fix incorrect marking of methods as not compilable.

Reviewed-by: never
2010-02-01 16:49:49 -08:00
Tom Deneau
f23b68b367 6902182: 4/4 Starting with jdwp agent should not incur performance penalty
Rename can_post_exceptions support to can_post_on_exceptions. Add support for should_post_on_exceptions flag to permit per JavaThread optimizations.

Reviewed-by: never, kvn, dcubed
2010-02-01 17:35:05 -07:00
Christian Thalinger
4e8608a124 6921799: JSR 292 call sites should not be fixed-up
MethodHandle invoke call sites should not be fixed-up by SharedRuntime::fixup_callers_callsite as c2i/i2c adapters are used to implement MethodHandle actions.

Reviewed-by: kvn, never
2010-02-01 23:18:47 +01:00
Christian Thalinger
918c7a2e33 6921352: JSR 292 needs its own deopt handler
We need to introduce a new MH deopt handler so we can easily determine if the deopt happened at a MH call site or not.

Reviewed-by: never, jrose
2010-02-01 19:29:46 +01:00
Tom Rodriguez
8cc63249e9 6916644: C2 compiler crash on x86
Reviewed-by: kvn, twisti
2010-01-29 22:51:41 -08:00
Jonathan Gibbons
0b2d026575 6499119: Created package-info class file modeled improperly
6920317: package-info.java file has to be specified on the javac cmdline, else it will not be avail

Reviewed-by: darcy
2010-01-29 16:54:52 -08:00
Jonathan Gibbons
305d4bc5fc 6919889: assorted position errors in compiler syntax trees
Reviewed-by: darcy
2010-01-29 16:06:51 -08:00
John Cuthbertson
b34027a600 6885297: java -XX:RefDiscoveryPolicy=2 or -XX:TLABWasteTargetPercent=0 cause VM crash
Interval checking is now being performed on the values passed in for these two flags. The current acceptable range for RefDiscoveryPolicy is [0..1], and for TLABWasteTargetPercent it is [1..100].

Reviewed-by: apetrusenko, ysr
2010-01-29 14:51:38 -08:00
Eric Caspole
a57d68e35b 4360113: Evict nmethods when code cache gets full
Speculatively unload the oldest nmethods when code cache gets full.

Reviewed-by: never, kvn
2010-01-29 09:27:22 -08:00
Kelly O'Hair
66af96da9d Merge 2010-01-29 09:05:02 -08:00
Christian Thalinger
9aa675b7e6 6921339: backout 6917766
Reviewed-by: mr
2010-01-29 08:33:24 -08:00
Christian Thalinger
fbc43afae6 6917766: JSR 292 needs its own deopt handler
We need to introduce a new MH deopt handler so we can easily determine if the deopt happened at a MH call site or not.

Reviewed-by: never, jrose
2010-01-29 12:13:05 +01:00
Tom Rodriguez
07c442542c 6792161: assert("No dead instructions after post-alloc")
Reviewed-by: kvn
2010-01-28 20:41:37 -08:00
Andrew John Hughes
2d314b47cd 6917466: Should set bootclasspath for javadoc in jdk build
Javadoc needs to reference the newly built classes so as not to hit APIs which differ between the boot JDK and the source files of the JDK being built.

Reviewed-by: ohair
2010-01-29 02:38:22 +00:00
Lana Steuck
21f09fb0b2 Merge 2010-01-28 18:24:54 -08:00
Tom Rodriguez
0b2600abcd 6920346: G1: "must avoid base_memory and AliasIdxTop"
Reviewed-by: kvn
2010-01-28 16:28:28 -08:00
Lana Steuck
2eabbe8ed9 Merge 2010-01-28 16:12:06 -08:00
Andrew John Hughes
6e0e99e0cd 6921068: Remove javadoc builds warnings from specdefault tag
Ignore specdefault tag to avoid javadoc warnings

Reviewed-by: darcy, ohair
2010-01-28 21:01:13 +00:00
Michael Wilkerson
3ef1380219 Added tag jdk7-b81 for changeset 43ee00bea176 2010-01-28 11:27:04 -08:00
Michael Wilkerson
d202ec0bed Added tag jdk7-b81 for changeset a280fa50978f 2010-01-28 11:26:54 -08:00
Michael Wilkerson
04d4c26c54 Added tag jdk7-b81 for changeset 4ef036bb3679 2010-01-28 11:26:49 -08:00
Michael Wilkerson
acd68fe1da Added tag jdk7-b81 for changeset 0c8ad4a8e25b 2010-01-28 11:26:48 -08:00
Michael Wilkerson
2fb0850cfd Added tag jdk7-b81 for changeset 4197a09e1259 2010-01-28 11:26:42 -08:00
Michael Wilkerson
03ff9b9965 Added tag jdk7-b81 for changeset 9900f2781664 2010-01-28 11:26:39 -08:00
Michael Wilkerson
9b387b7ab7 Added tag jdk7-b81 for changeset f2507e238f8a 2010-01-28 11:26:38 -08:00
Sergey Malenkov
46cb7c49ab 6412286: DOC: LTP: Unspecified NPE in java.beans.DefaultPersistenceDelegate.instantiate method
Reviewed-by: peterz
2010-01-28 20:49:00 +03:00
Gary Benson
6e4af7581c 6920970: Zero build fixes after 6849984 and 6911204
Two recent commits broke the build on Zero.

Reviewed-by: twisti
2010-01-28 08:36:34 -08:00
Peter Zhelezniakov
3b48821ace 6912118: Incosistency in several SynthUI classes between inherited specs ofupdate() and paint() methods
Reviewed-by: rupashka
2010-01-28 17:06:54 +03:00
Y. Srinivas Ramakrishna
679f958f72 Merge 2010-01-27 22:38:37 -08:00
Xueming Shen
b09ac3b7e8 6920732: opensource test/java/nio/charset
Move the test cases to openjdk

Reviewed-by: martin
2010-01-27 19:39:55 -08:00
Lana Steuck
e8dd68545e Merge 2010-01-27 14:46:37 -08:00
Lana Steuck
c380e15d57 Merge 2010-01-27 14:46:06 -08:00
Igor Veresov
43b70061e4 Merge 2010-01-27 14:06:27 -08:00
Pavel Tisnovsky
0c8c19d629 6920143: test/java/awt/TestArea/UsingWithMouse.java needs realSync()
Added small delay to make sure that TextArea animation have finished

Reviewed-by: anthony
2010-01-27 17:47:53 +01:00
Chris Hegarty
ea8cd92324 6905552: libnet/nio portability issues
Reviewed-by: alanb
2010-01-27 16:11:53 +00:00
Y. Srinivas Ramakrishna
b75896a657 Merge 2010-01-26 23:36:11 -08:00
Y. Srinivas Ramakrishna
342a620a7f 6920090: G1: Disable ReduceInitialCardMarks at least until 6920109 is fixed
G1 now answers "no" to the query can_elide_initializing_store_barrier() in the product build. A debug flag allows alternate behaviour in debug builds.

Reviewed-by: iveresov, tonyp
2010-01-26 16:52:29 -08:00
Mahmood Ali
7235cabd9f 6917130: should test that annotations that have been optimized away are not emitted to classfile
Co-authored-by: Michael Ernst <mernst@cs.washington.edu>
Reviewed-by: jjg, darcy
2010-01-26 11:23:54 -08:00
Jonathan Gibbons
1433e8c817 6919944: incorrect position given for duplicate annotation value error
Reviewed-by: darcy
2010-01-26 11:15:49 -08:00
Eric Caspole
f557cc8bd0 6919886: Sweep CodeCache more aggressively to reduce its usage for CompileTheWorld
Add safepoint after CompileTheWorldSafepointInterval (100) compilations and do full sweep of CodeCache each time.

Reviewed-by: never
2010-01-26 08:53:24 -08:00
Jean-Christophe Collet
32443b7f2e 6919185: test/closed/sun/net/ftp/FtpTests fails to compile
Fixed a couple of regressions in FtpClient and updated the test.

Reviewed-by: chegar
2010-01-26 11:39:29 +01:00
Weijun Wang
4641ee098b 6919610: KeyTabInputStream uses static field for per-instance value
Reviewed-by: mullan
2010-01-26 17:03:48 +08:00
Masayoshi Okutsu
63df4ddb3e 6912866: (date) java.util.Date.before / after may be expensive
Reviewed-by: peytoia
2010-01-26 15:42:06 +09:00
Antonios Printezis
e19600ac5d 6919980: G1: remove +UseG1GC from under experimental options (second attempt)
Trying this again, as the original change was lost.

Reviewed-by: ysr, jmasa
2010-01-25 18:03:29 -05:00
Chris Hegarty
1891bb8f68 6707289: InterfaceAddress.getNetworkPrefixLength() does not conform to Javadoc
Reviewed-by: michaelm
2010-01-25 15:41:37 +00:00
Coleen Phillimore
492ac08f92 Merge 2010-01-22 15:06:53 -08:00
Erik Trimble
233fefb60d 6919437: Bump the HS17 build number to 08
Update the HS17 build number to 08

Reviewed-by: jcoomes
2010-01-22 15:01:00 -08:00
Erik Trimble
c8f93eade6 Merge 2010-01-22 14:57:12 -08:00
Lana Steuck
8fb9c68bfb Merge 2010-01-22 09:34:46 -08:00
Lana Steuck
352a180c52 Merge 2010-01-22 09:34:17 -08:00
Dmitry Cherepanov
27a0a30da8 6756774: fstdebug jvm fails with assertion (result != deleted_handle(),"Used a deleted global handle.")
Reviewed-by: art, anthony
2010-01-22 19:47:18 +03:00
Andrey Petrusenko
35324b7e7d 6918006: G1: spill space must be reserved on the stack for barrier calls on Windows x64
Stub code generated to call G1 barriers does not allocate spill space on the stack as required by Windows x64 ABI. The fix is to use more ABI-friendly call_VM_leaf().

Reviewed-by: iveresov, never, kvn
2010-01-21 18:51:10 -08:00
Vinnie Ryan
85e04e4ce4 Merge 2010-01-22 00:02:08 +00:00
Vinnie Ryan
50b83fe62f 6763530: Cannot decode PublicKey (Proider SunPKCS11, curve prime256v1)
Reviewed-by: andrew
2010-01-21 23:59:41 +00:00
Y. Srinivas Ramakrishna
1c342cf62d Merge 2010-01-21 14:47:01 -08:00
Jon Masamitsu
b2ed547ec0 6895236: CMS: cmsOopClosures.inline.hpp:43 assert(..., "Should remember klasses in this context")
Adjust assertion checking for ExplicitGCInvokesConcurrentAndUnloadsClasses as a reason for class unloading

Reviewed-by: ysr
2010-01-21 11:33:32 -08:00
Michael Wilkerson
529b769396 Added tag jdk7-b80 for changeset 50559985f09b 2010-01-21 11:12:47 -08:00
Michael Wilkerson
6f9b40f577 Added tag jdk7-b80 for changeset 3effa7542ca5 2010-01-21 11:12:37 -08:00
Michael Wilkerson
3000b7b777 Added tag jdk7-b80 for changeset 45ed797aeb93 2010-01-21 11:12:31 -08:00
Michael Wilkerson
c22703a78f Added tag jdk7-b80 for changeset 4f440ce94e8f 2010-01-21 11:12:31 -08:00
Michael Wilkerson
ede6404548 Added tag jdk7-b80 for changeset 8f15a8afca28 2010-01-21 11:12:25 -08:00
Michael Wilkerson
d50eddb962 Added tag jdk7-b80 for changeset 2e36be9a9a7f 2010-01-21 11:12:22 -08:00
Michael Wilkerson
79eae06de6 Added tag jdk7-b80 for changeset e28f9a870f12 2010-01-21 11:12:21 -08:00
Sergey Malenkov
d28858928b 4968536: DOC: Javadoc for java.beans.Encoder.getPersistenceDelegate is incomplete
Reviewed-by: peterz
2010-01-21 21:53:15 +03:00
Sergey Malenkov
559ad6f8f8 4922835: DOC: Statement javadoc should indicate that target and methodName cannot be null
Reviewed-by: peterz
2010-01-21 21:45:00 +03:00
Tom Rodriguez
bac125984c 6911204: generated adapters with large signatures can fill up the code cache
Reviewed-by: kvn, jrose
2010-01-20 22:10:33 -08:00
Michael Wilkerson
675d878cfc Merge 2010-01-20 17:11:52 -08:00
Michael Wilkerson
a7d3ff6ae5 Merge 2010-01-20 17:09:11 -08:00
Michael Wilkerson
13fdfcfbd1 Merge 2010-01-20 17:09:09 -08:00
Mahmood Ali
187a9d305c 6918127: improve handling of TypeAnnotationPosition fields
Co-authored-by: Michael Ernst <mernst@cs.washington.edu>
Reviewed-by: jjg, darcy
2010-01-20 16:12:26 -08:00
Igor Veresov
ae60c05fee Merge 2010-01-20 12:54:25 -08:00
Vasanth Venkatachalam
688eab1157 6580131: 3/4 CompiledMethodLoad events don't produce the expected extra notifications to describe inlining
Add support for additional implementation specific info to the JVM/TI CompiledMethodLoad event via the compile_info parameter.

Reviewed-by: never, ohair, tbell, tdeneau
2010-01-20 12:09:31 -07:00
Daniel D. Daugherty
ecbf962c7b Merge 2010-01-20 11:32:41 -07:00
Xue-Lei Andrew Fan
57afe92dd1 6862064: incorrect implementation of PKIXParameters.clone()
Reviewed-by: weijun, mullan
2010-01-20 21:38:37 +08:00
Vladimir Kozlov
a0cb26b72d 6893701: compiler/6877254/Test.java fails because it combines -XX:+UseConcMarkSweepGC with other GC
Remove explicit GC flags in regression tests

Reviewed-by: never, ysr
2010-01-19 15:54:42 -08:00
Dmitry Cherepanov
90bf9a073f 6660258: Java application stops Windows logout/shutdown (regression in 1.5.0_14)
Reviewed-by: anthony, art, uta
2010-01-20 01:33:49 +03:00
Mahmood Ali
a9131d080c 6917067: refactor type annotations code from TransTypes into new TypeAnnotations class
Co-authored-by: Michael Ernst <mernst@cs.washington.edu>
Reviewed-by: jjg, darcy
2010-01-19 14:28:45 -08:00
Erik Trimble
0f5710a2e2 Merge 2010-01-19 14:23:18 -08:00
Vladimir Kozlov
bb4f475e1b 6917931: compiler/6895383/Test.java don't compile due missed imports
Add missing imports.

Reviewed-by: never, twisti
2010-01-19 10:25:54 -08:00
Weijun Wang
9645beba5c 6917791: KeyTabEntry, when the byte value smaller then 16, the string drop '0'
Reviewed-by: xuelei
2010-01-19 11:43:45 +08:00
Mandy Chung
0dd2aad54f 6916217: make/modules/Makefile requires ALT_JDK_IMPORT_PATH
Build modules not depending on ALT_JDK_IMPORT_PATH being set

Reviewed-by: alanb
2010-01-18 15:23:14 -08:00
Pavel Tisnovsky
f57059f5b4 6917663: test/java/security/Provider/Turkish.java not samevm friendly
Added othervm flag to ensure that this test will run in isolation.

Reviewed-by: alanb
2010-01-18 17:53:26 +01:00
Alan Bateman
01c326e0da 6917021: (file) copyTo/moveTo can overrwrite existing file when target associated with custom provider
Reviewed-by: chegar
2010-01-18 15:21:34 +00:00
Chris Hegarty
3e77553ac1 6917317: (sctp) Remove dependency on handleSocketError
Reviewed-by: alanb
2010-01-18 14:56:06 +00:00
Chris Hegarty
34b95319c2 6916890: (sctp) SctpChannel.send may cause IAE if given a heap buffer with an offset
Reviewed-by: alanb
2010-01-18 14:01:07 +00:00
Edward Nevill
3ea93d46c4 6917698: os::is_allocatable Zero fix for 32-bit platforms
Recent changes call os::is_allocatable which was not implemented in Zero.

Reviewed-by: twisti
2010-01-18 05:02:41 -08:00
Yong Jeffrey Huang
fb1a4c18c0 Merge 2010-01-17 18:42:34 -08:00
Y. Srinivas Ramakrishna
d327b24c06 Merge 2010-01-16 23:51:50 -08:00
Andrew John Hughes
95b04ad35c 6917485: Corba doc warnings
Fix warnings generated by javadoc

Reviewed-by: darcy
2010-01-16 01:04:04 +00:00
Tom Rodriguez
f839a363ca 6879943: CTW failure jdk6_18/hotspot/src/share/vm/c1/c1_LIR.hpp:2029
Reviewed-by: kvn, cfang
2010-01-15 16:15:45 -08:00
Lana Steuck
4874fa7e28 Merge 2010-01-15 15:37:13 -08:00
Lana Steuck
a5325ffb94 Merge 2010-01-15 15:36:54 -08:00
Erik Trimble
5ce386d80e 6917463: Bump the HS17 build number to 07
Update the HS17 build number to 07

Reviewed-by: jcoomes
2010-01-15 14:28:16 -08:00
Erik Trimble
a538576b56 Merge 2010-01-15 14:25:44 -08:00
Tom Rodriguez
72d0f638c7 6849984: Value methods for platform dependent math functions constant fold incorrectly
Reviewed-by: kvn, twisti
2010-01-15 11:53:33 -08:00
Jennifer Godinez
8cfb675258 6915906: tests in closed/javax/print/ should not be calling System.exit()
Reviewed-by: igor, prr
2010-01-15 09:06:57 -08:00
Chris Hegarty
c5c869ce94 6916922: (sctp) SO_RCVBUF & SO_SNDBUF returns twice the value set
Reviewed-by: alanb
2010-01-15 16:31:16 +00:00
Sean Mullan
152798a7ef Merge 2010-01-15 09:58:48 -05:00
Sean Mullan
60fa841f74 6915939: Exception should be thrown if OCSP SingleResponses contain unresolved critical extensions
Reviewed-by: xuelei
2010-01-15 09:48:21 -05:00
Joe Darcy
738b0c0ec7 6908218: java.lang.Deprecated should have explicit @Target meta-annotation
Reviewed-by: mernst
2010-01-14 20:05:19 -08:00
Mahmood Ali
d7b99be648 6916986: handle spaces in langtools launcher path
Co-authored-by: Michael Ernst <mernst@cs.washington.edu>
Reviewed-by: darcy, jjg
2010-01-14 17:23:53 -08:00
Mahmood Ali
7d98f6dfb1 6917122: provide utility method to find the inner most type of a type tree
Co-authored-by: Michael Ernst <mernst@cs.washington.edu>
Reviewed-by: darcy, jjg
2010-01-14 17:18:30 -08:00
David Katleman
d5c43b2149 Added tag jdk7-b79 for changeset e7616c247414 2010-01-14 15:48:46 -08:00
David Katleman
c3dc52b53d Added tag jdk7-b79 for changeset 9cb43bde544d 2010-01-14 15:48:36 -08:00
David Katleman
a2f40ac18b Added tag jdk7-b79 for changeset 4b85cf247673 2010-01-14 15:48:32 -08:00
David Katleman
f93e23910c Added tag jdk7-b79 for changeset c7d5c3613e3f 2010-01-14 15:48:31 -08:00
David Katleman
ea80682a9f Added tag jdk7-b79 for changeset 9b63533d5895 2010-01-14 15:48:26 -08:00
David Katleman
698830b36e Added tag jdk7-b79 for changeset ae0f40f891d4 2010-01-14 15:48:23 -08:00
David Katleman
50b34833aa Added tag jdk7-b79 for changeset 142aec7359d5 2010-01-14 15:48:22 -08:00
Alexey Utkin
b5f77a0513 6916867: Fastdebug build failed after CR 4874070 fix putback
Reviewed-by: art, dcherepanov
2010-01-14 17:56:49 +03:00
John R Rose
8214fc3a3b 6912065: final fields in objects need to support inlining optimizations for JSR 292
Reviewed-by: twisti, kvn
2010-01-13 23:05:52 -08:00
Jonathan Gibbons
5d1e287266 6472751: SourcePositions.getStartPos returns incorrect value for enum constants
6567414: javac compiler reports no source file or line on enum constant declaration error

Reviewed-by: darcy
2010-01-13 17:39:44 -08:00
John Cuthbertson
29a13dc105 6915005: G1: Hang in PtrQueueSet::completed_buffers_list_length with gcl001
When enqueuing a completed PtrQueue buffer, cache a local pointer to the buffer and clear the field in the PtrQueue prior to unlocking the mutex referenced by the _lock field and pass the cached local value to the enqueuing routine. This will prevent the same completed buffer being enqueued multiple times, which causes the hang.

Reviewed-by: ysr
2010-01-13 15:45:47 -08:00
Antonios Printezis
da0750f0b2 Merge 2010-01-14 09:20:13 -08:00
Kelly O'Hair
23fc99433b Merge 2010-01-13 15:37:06 -08:00
Y. Srinivas Ramakrishna
331512606a 6896647: card marks can be deferred too long
Deferred card marks are now flushed during the gc prologue. Parallel[Scavege,OldGC] and SerialGC no longer defer card marks generated by COMPILER2 as a result of ReduceInitialCardMarks. For these cases, introduced a diagnostic option to defer the card marks, only for the purposes of testing and diagnostics. CMS and G1 continue to defer card marks. Potential performance concern related to single-threaded flushing of deferred card marks in the gc prologue will be addressed in the future.

Reviewed-by: never, johnc
2010-01-13 15:26:39 -08:00
John Coomes
cbfd52c649 Merge 2010-01-13 15:16:06 -08:00
Antonios Printezis
04d77ad78e 6916652: G1: remove +UseG1GC from under experimental options
What the title says.

Reviewed-by: ysr, jmasa
2010-01-13 15:46:13 -05:00
Vasanth Venkatachalam
a5e58e8d53 6580131: 3/4 CompiledMethodLoad events don't produce the expected extra notifications to describe inlining
Add support for additional implementation specific info to the JVM/TI CompiledMethodLoad event via the compile_info parameter.

Reviewed-by: never, ohair, tbell, tdeneau
2010-01-13 09:39:46 -07:00
Alexey Utkin
bbab8a6fb4 Merge 2010-01-13 17:10:23 +03:00
Yuka Kamiya
e2c3e248e5 6868503: RuleBasedBreakIterator is inefficient
Reviewed-by: okutsu
2010-01-13 15:40:47 +09:00
Mandy Chung
74703b4493 6915502: Legal notice repairs needed in jdk/make/modules/tools
Fix the legal notice in jdk/make/modules/tools

Reviewed-by: tbell
2010-01-12 15:19:24 -08:00
John Cuthbertson
0917ad432e 6902115: G1:assert(ignore_max_completed||thread->is_Java_thread()||SafepointSynchronize::is_at_safepoint())
Remove invalid assert and mangle filler objects in TLABs that are being retired.

Reviewed-by: ysr, jmasa
2010-01-12 14:56:46 -08:00
Changpeng Fang
815db4fcba 6894779: Loop Predication for Loop Optimizer in C2
Loop predication implementation

Reviewed-by: never, kvn
2010-01-12 14:37:35 -08:00
Igor Veresov
ba4994e447 Merge 2010-01-12 13:54:40 -08:00
Yong Jeffrey Huang
0db0a7d9e9 Merge 2010-01-11 23:25:20 -08:00
Jonathan Gibbons
6e3f4a8a4c 6909470: langtools stub generator should prune unnecessary imports
Reviewed-by: darcy
2010-01-11 16:18:05 -08:00
Joe Darcy
8e7d694a82 6828204: NavigableSet.subSet() documentation refers to nonexistent parameters
Reviewed-by: martin
2010-01-11 15:35:28 -08:00
Jonathan Gibbons
2279a1af12 6915497: test test/tools/javac/nio/compileTest/CompileTest.java fails under Hudson
Reviewed-by: darcy
2010-01-11 14:17:01 -08:00
Jonathan Gibbons
8d42657600 6915476: java.util.regex.PatternSyntaxException in com.sun.tools.javac.nio.PathFileObject
Reviewed-by: darcy
2010-01-11 14:12:10 -08:00
Jesse Glick
dfe44a05ec 6764569: [PATCH] Fix unused imports in list resource bundles
Reviewed-by: ksrini
2010-01-11 14:09:15 -08:00
Jonathan Gibbons
4447330ab3 6326754: Compiler will fail to handle -Xmaxerrs with -ve numbers
Reviewed-by: ksrini
2010-01-11 14:05:21 -08:00
Chris Hegarty
1d92211cb6 6915313: Reorganize implementation to make it more feasible to port to JDK6
This makes the SCTP implementation easier to run with Suns JDK6.

Reviewed-by: alanb
2010-01-11 16:04:05 +00:00
Alan Bateman
30d2fd5f41 6913877: (fs) AsynchronousFileChannel.write can return wrong result under load [win]
Reviewed-by: chegar
2010-01-10 12:29:19 +00:00
Alan Bateman
46d57b48e4 6907760: (file) OVERFLOW event should cause pending events to be purged
Reviewed-by: chegar
2010-01-09 19:32:58 +00:00
Y. Srinivas Ramakrishna
c0174fb200 Merge 2010-01-09 09:01:41 -08:00
Tom Rodriguez
96612c6e23 6909839: missing unsigned compare cases for some cmoves in sparc.ad
Reviewed-by: kvn, jrose
2010-01-09 00:59:35 -08:00
John R Rose
84ad3ddc31 Merge 2010-01-08 22:02:42 -08:00
John R Rose
48bd193a36 Merge 2010-01-08 18:27:20 -08:00
John R Rose
d5049c59b3 Merge 2010-01-08 15:17:42 -08:00
John R Rose
6fbdf208fc 6912063: inlining parameters need to be adjusted for some uses of the JVM
Put all inline-related switches into product mode, to allow tuning by dynamic language implementors.

Reviewed-by: twisti, kvn
2010-01-08 13:58:49 -08:00
John R Rose
fdbb64ef71 6912062: disassembler plugin needs to produce symbolic information in product mode
More informative disassembly in product mode.  Also, a more consistent CompileCommand syntax.

Reviewed-by: never
2010-01-08 13:47:01 -08:00
Jonathan Gibbons
09e737337b 6915152: langtools build failures with import.jdk on Windows
Reviewed-by: ohair
2010-01-08 13:14:45 -08:00
Jonathan Gibbons
2c83d314bc 6915078: ALT_JDK_IMPORT_PATH typo in langtools/make/Makefile
Reviewed-by: tbell
2010-01-08 11:32:57 -08:00
Jonathan Gibbons
fb26d8497e 6665791: com.sun.source.tree.MethodTree.toString() does not output default values
Reviewed-by: darcy
2010-01-08 11:28:49 -08:00
Jonathan Gibbons
114e3f9b31 6878146: incorrect unused value should be deleted
Reviewed-by: darcy
2010-01-08 11:16:23 -08:00
Jonathan Gibbons
9f2d8827db 6878147: Keywords.log is declared and initialized but unused
Reviewed-by: darcy
2010-01-08 11:11:33 -08:00
Vladimir Kozlov
eca996c10f 6910484: incorrect integer optimization (loosing and op-r in a given example)
Remove AND operation only if mask is equal to shift.

Reviewed-by: never
2010-01-08 09:51:24 -08:00
Kevin Brown
7548b8eed5 6915110: IfNode::up_one_dom moves beyond RootNode bug in src/share/vm/opto/ifnode.cpp
Check RootNode before check Loop in IfNode::up_one_dom().

Reviewed-by: never
2010-01-08 09:42:31 -08:00
Andrew John Hughes
74452cc018 6584033: (tz) wrong buffer length in TimeZone_md.c
Add testcase for this bug

Reviewed-by: darcy, okutsu
2010-01-08 12:51:15 +00:00
Christian Thalinger
e5fb2ad1c4 6914206: change way of permission checking for generated MethodHandle adapters
Put generated MH adapter in InvokeDynamic/MethodHandle classes to be able to indentify them easily in the compiler.

Reviewed-by: kvn, never, jrose
2010-01-08 11:09:46 +01:00
Joe Darcy
7eff9123d3 6915171: Clarify checked/unchecked status of Throwable and its subclasses
Reviewed-by: dholmes
2010-01-07 19:42:43 -08:00
Vladimir Kozlov
8da8433a6f 6912517: JIT bug compiles out (and stops running) code that needs to be run. Causes NPE
Add missing check that value is used in memory expression in instructions with embedded load.

Reviewed-by: never, jrose
2010-01-07 16:26:31 -08:00
Gary Benson
5d66f5aca8 6914622: Print values of all flags for product VM
Change the flag -XX:+PrintFlagsFinal to product and add new product flag -XX:+PrintFlagsInitial.

Reviewed-by: phh, ysr
2010-01-07 16:24:17 -08:00
John R Rose
020e5501fd 6914665: update jdk code for JSR 292 (post 6858164)
Fill in missing API implementations, fix numerous bugs, adjust APIs towards EG design.

Reviewed-by: twisti
2010-01-07 16:16:45 -08:00
Andrew John Hughes
d298973077 6914986: Make sure openjdk doc generation not turned off with JDK_UPDATE_VERSION
Only turn off documentation for updates when not building OpenJDK

Reviewed-by: ohair
2010-01-07 23:17:01 +00:00
Mandy Chung
b4749c950a 6911737: Module build: generate modules with native libraries and any other files not in jar
Create modules under OUTPUTDIR/modules directory containing resources, native libraries

Reviewed-by: alanb, ohair
2010-01-07 08:14:48 -08:00
Jon Masamitsu
69342d1472 6912018: CMS: guarantee(head() != 0,"The head of the list cannot be NULL")
Block too small to split was not correctly putback to free lists.

Reviewed-by: ysr
2010-01-07 08:14:45 -08:00
Igor Veresov
5bec0d60ab Merge 2010-01-06 22:21:39 -08:00
Yong Jeffrey Huang
0269746b49 6821191: Timezone display name localization
Reviewed-by: yhuang, ogino
2010-01-06 19:32:55 -08:00
Yong Jeffrey Huang
dbcf39cd95 6914413: abbreviation name for November is not correct in be_BY
Reviewed-by: yhuang, peytoia
2010-01-06 17:52:49 -08:00
John R Rose
20b837a9e4 Merge 2010-01-06 16:50:51 -08:00
Tom Rodriguez
ac5dfe00c7 Merge 2010-01-06 14:25:03 -08:00
Tom Rodriguez
98449cf2c2 6914300: ciEnv should export all well known classes
Reviewed-by: kvn, twisti
2010-01-06 14:22:39 -08:00
Jonathan Gibbons
b796b9a5d2 6855236: Compiler Tree API TreePath class generates NullPointerException from Iterator
Reviewed-by: darcy
2010-01-06 13:16:48 -08:00
Jonathan Gibbons
8fef75cd30 6307206: missing lint control for pkg-info
Reviewed-by: darcy
2010-01-06 13:09:52 -08:00
Yong Jeffrey Huang
3ef2389b01 6716626: Integrate contributed language and country names for NL
Reviewed-by: yhuang, peytoia
2010-01-05 18:26:19 -08:00
Tom Rodriguez
0998a8591f 6914002: unsigned compare problem after 5057818
Reviewed-by: kvn, twisti
2010-01-05 16:12:26 -08:00
Kelly O'Hair
c0015132c6 Merge 2010-01-05 15:17:34 -08:00
Kelly O'Hair
03c602bf3a Merge 2010-01-05 13:44:09 -08:00
Tom Rodriguez
6c0af1575c Merge 2010-01-05 11:16:09 -08:00
Gary Benson
99b489b4f7 6908267: Zero fails to unlock synchronized native methods on exception
Reviewed-by: never
2010-01-05 11:14:54 -08:00
Christian Thalinger
47f2433a58 6893268: additional dynamic language related optimizations in C2
C2 needs some additional optimizations to be able to handle MethodHandle invokes and invokedynamic instructions at the best performance.

Reviewed-by: kvn, never
2010-01-05 15:21:25 +01:00
Christian Thalinger
375527d84e 6829187: compiler optimizations required for JSR 292
C2 implementation for invokedynamic support.

Reviewed-by: kvn, never
2010-01-05 13:05:58 +01:00
Weijun Wang
a3071a3b47 6913636: kvno check in JSSE
Reviewed-by: valeriep
2010-01-05 10:40:44 +08:00
Weijun Wang
d6e00a699d 6895424: RFC 5653
Reviewed-by: valeriep
2010-01-05 10:40:36 +08:00
Kelly O'Hair
5870e852d5 6911104: Tests do not work with CYGWIN: tools, sun/tools, and com/sun/tools
Reviewed-by: tbell, alanb
2010-01-04 15:56:42 -08:00
Kelly O'Hair
c49eb02208 6911108: These tests do not work with CYGWIN: java/util
Reviewed-by: tbell, alanb
2010-01-04 15:52:38 -08:00
Kelly O'Hair
2e5624299a 6911129: These tests do not work with CYGWIN: java/lang
Reviewed-by: tbell, alanb
2010-01-04 15:49:34 -08:00
Kelly O'Hair
5b5ca23ef0 6911112: Tests do not work with CYGWIN: javax/imageio/, javax/script/, and sun/misc/
Reviewed-by: tbell, alanb
2010-01-04 15:45:30 -08:00
Kelly O'Hair
67582cd0a5 6911131: Test does not work with CYGWIN: sun/management/jmxremote/bootstrap/RmiSslNoKeyStoreTest.sh
Reviewed-by: tbell, alanb
2010-01-04 15:41:54 -08:00
Kelly O'Hair
a1ddf1b505 6911117: These tests do not work with CYGWIN: com/sun/jdi
Reviewed-by: tbell, alanb
2010-01-04 15:38:30 -08:00
Kelly O'Hair
a59db62f07 6911113: These tests do not work with CYGWIN: java/nio
Reviewed-by: tbell, alanb
2010-01-04 15:36:06 -08:00
Kelly O'Hair
4ae2047584 6910835: TESTS: 3 java/io run.sh tests fail when run on Windows XP CYGWIN
Reviewed-by: tbell, alanb
2010-01-04 15:33:19 -08:00
Kelly O'Hair
23ac573ae7 6910834: TEST: java/io/File/Basic.java fails on Windows CYGWIN environment
Reviewed-by: tbell, alanb
2010-01-04 15:30:26 -08:00
Vladimir Kozlov
9be2e29930 6913075: EA identifies escape state incorrectly after 6895383 fix
EA incorrectly identifies escape state of an allocation passed as call argument.

Reviewed-by: never
2010-01-04 15:21:09 -08:00
Y. Srinivas Ramakrishna
642d1bc555 6637203: Classunloading messages go to stdout rather than Xloggc file, causing hangs when stdout is closed
Decoupled TraceClassUnloading from verbose:gc, JVMTI_VERBOSE_GC and PrintGC[Details], making it settable in a manner identical to TraceClassLoading. Reverted an inadvertent change of TraceClassUnloading output in a previous changeset from gclog back to tty.

Reviewed-by: coleenp, dholmes, jmasa, poonam
2010-01-04 14:51:26 -08:00
Christian Thalinger
caf28727eb 6893081: method handle & invokedynamic code needs additional cleanup (post 6815692, 6858164)
During the work for 6829187 we have fixed a number of basic bugs which are logically grouped with 6815692 and 6858164 but which must be reviewed and pushed separately.

Reviewed-by: kvn, never
2010-01-04 18:38:08 +01:00
Jon Masamitsu
1335d16d6e Merge 2010-01-04 07:58:42 -08:00
Christian Thalinger
14305ba3f4 Merge 2010-01-04 07:04:46 -08:00
Christian Thalinger
3a896a1408 6894206: JVM needs a way to traverse method handle structures
We need a way to walk chained method handles in the JVM to call the right methods and to generate required bytecode adapters for the compilers.

Reviewed-by: kvn
2010-01-04 15:52:40 +01:00
Gary Benson
3baf653c68 6913869: Zero assert fix
Zero currently won't build on zSeries or PowerPC machines with assertions turned on.

Reviewed-by: twisti
2010-01-04 03:34:40 -08:00
Gary Benson
915d9602fe 6909153: Fix broken options on Zero
Smaller fixes to ensure that Zero still works with non-standard options.

Reviewed-by: twisti
2010-01-04 00:22:57 -08:00
Yong Jeffrey Huang
32bb0605eb 6585666: Spanish language names not compliant with CLDR
Reviewed-by: yhuang, peytoia
2009-12-28 14:58:33 -08:00
Dmitry Cherepanov
b592c92417 6857363: deadlock caused by sun.awt.X11.XTrayIconPeer$Tooltip.display
Reviewed-by: ant, art
2009-12-28 20:35:41 +03:00
Peter Zhelezniakov
ca167b2935 6860438: [Nimbus] Code to globally set slider's thumb background doesn't work as specified
Reviewed-by: rupashka
2009-12-25 17:47:08 +03:00
Yong Jeffrey Huang
35e0d860fa 6541350: TimeZone display names localization
Reviewed-by: yhuang, peytoia
2009-12-24 16:26:17 -08:00
Yong Jeffrey Huang
a3e3f6d321 6870908: reopen bug 4244752: month names in Estonian should be lowercase
Reviewed-by: yhuang, peytoia
2009-12-24 15:37:01 -08:00
Alexey Utkin
fa9fcae42b 4874070: invoking DragSource's startDrag with an Image renders no image on drag
Reviewed-by: art, denis, alexp
2009-12-24 17:19:09 +03:00
Weijun Wang
56ac52238f 6907425: JCK Kerberos tests fail since b77
Reviewed-by: valeriep
2009-12-24 13:56:28 +08:00
Weijun Wang
709a5076d8 6843127: krb5 should not try to access unavailable kdc too often
Reviewed-by: valeriep, mullan
2009-12-24 13:56:19 +08:00
Doug Lea
dc8d9d049e 6908348: java/util/concurrent/BlockingQueue/CancelledProducerConsumerLoops.java get OOME for unbounded queues
Reviewed-by: martin, dholmes
2009-12-23 15:57:14 -08:00
Y. Srinivas Ramakrishna
272a6d47bb 6631166: CMS: better heuristics when combatting fragmentation
Autonomic per-worker free block cache sizing, tunable coalition policies, fixes to per-size block statistics, retuned gain and bandwidth of some feedback loop filters to allow quicker reactivity to abrupt changes in ambient demand, and other heuristics to reduce fragmentation of the CMS old gen. Also tightened some assertions, including those related to locking.

Reviewed-by: jmasa
2009-12-23 09:23:54 -08:00
Andrew John Hughes
071aabe3f8 6912893: (build) make/java/nio/FILES_java.gmk doesn't list sun.nio.cs.Unicode
Add missing Java source file

Reviewed-by: alanb
2009-12-23 17:17:16 +00:00
Erik Trimble
4909043745 Merge 2009-12-23 03:12:16 -08:00
Erik Trimble
286ca964ca Merge 2009-12-23 02:57:31 -08:00
Pavel Tisnovsky
9e74b05b9c 6912628: test/java/util/jar/JarFile/TurkCert.java cannot be run in samevm mode
Added tag to run this test in othervm

Reviewed-by: chegar
2009-12-23 11:18:58 +01:00
Jon Masamitsu
6494298403 Merge 2009-12-23 00:47:04 -08:00
Jon Masamitsu
9e0ee0f526 Merge 2009-12-22 22:35:08 -08:00
Joe Darcy
b4b4646850 6908541: Bad resource management in java/math/BigInteger/BigIntegerTest.java
Reviewed-by: alanb
2009-12-22 21:48:19 -08:00
Igor Veresov
f64d1c0216 Merge 2009-12-22 17:56:03 -08:00
Erik Trimble
54542ccadf 6912782: Bump the HS17 build number to 06
Update the HS17 build number to 06

Reviewed-by: jcoomes
2009-12-22 16:35:08 -08:00
Erik Trimble
1b52c50931 Merge 2009-12-22 16:33:46 -08:00
Erik Trimble
113321f4a7 Merge 2009-12-22 16:32:11 -08:00
Andrei Dmitriev
79b63384b2 6893325: JComboBox and dragging to an item outside the bounds of the containing JFrame is not selecting that
Reviewed-by: art, dcherepanov
2009-12-22 17:28:52 +03:00
Dmitry Cherepanov
99ec457434 6908299: Missed changes for 6664512 during the merge with 6879044
Reviewed-by: mchung, art
2009-12-23 01:22:11 +03:00
Peter Zhelezniakov
af7c975cc6 6860433: [Nimbus] Code to set a single slider's thumb background doesn't work as specified
Reviewed-by: rupashka
2009-12-21 19:26:58 +03:00
Yong Jeffrey Huang
5304e769f1 6573250: Java.util.Currency.getSymbol(Locale) returns wrong value when locale is not US
Reviewed-by: yhuang, peytoia
2009-12-20 19:49:30 -08:00
Yong Jeffrey Huang
bb86b60a83 6910489: Slovenia Locale, wrong firstDayOfWeek number
Reviewed-by: yhuang, peytoia
2009-12-20 19:31:57 -08:00
Tim Bell
c0821fc156 Merge 2009-12-19 10:26:47 -08:00
Tim Bell
4797193455 Merge 2009-12-19 10:26:19 -08:00
Mandy Chung
fc0c5a5729 6909573: Temporary launcher support to add modules in the bootclasspath
Add the list of modules to the bootclasspath if lib/rt.jar and classes don't exist

Reviewed-by: alanb, ohair, ksrini
2009-12-18 11:42:03 -08:00
Mandy Chung
146de76334 6909572: Add a new target for building modules
Add a new "modules" build target that builds jdk and jre module image

Reviewed-by: alanb, ohair
2009-12-18 11:36:23 -08:00
Joe Darcy
791e5e16c4 6911854: Update TestElementsAnnotatedWith.java to use @compile/proc
Reviewed-by: jjg
2009-12-18 11:15:23 -08:00
Tim Bell
2c4310ffa4 6899737: JDK build fails in make/java/jli because of _vsnprintf macro redefinition
Use stdio.h instead when building with Visual Studio 2008 or later

Reviewed-by: art, ohair
2009-12-18 09:40:34 -08:00
Mandy Chung
52c154889e Merge 2009-12-18 07:49:02 -08:00
Yong Jeffrey Huang
17da0a6c0c 6645405: Errors in Hungarian local-specific formatting. (L10N part of 6609703)
Reviewed-by: yhuang, peytoia
2009-12-17 22:25:06 -08:00
Yong Jeffrey Huang
a08074d0f3 6650730: Lithuanian locale date and number formats mismatch
Reviewed-by: yhuang, peytoia
2009-12-17 22:24:08 -08:00
Michael Wilkerson
b8e2455d19 Added tag jdk7-b78 for changeset fcbbd4d49581 2009-12-17 14:10:44 -08:00
Michael Wilkerson
98f50e7fcc Added tag jdk7-b78 for changeset 97c33ee30c4f 2009-12-17 14:10:35 -08:00
Michael Wilkerson
94d6fb6f1e Added tag jdk7-b78 for changeset f6cdb0710f97 2009-12-17 14:10:29 -08:00
Michael Wilkerson
36c11ef750 Added tag jdk7-b78 for changeset 977f877abc78 2009-12-17 14:10:28 -08:00
Michael Wilkerson
1cba1184f3 Added tag jdk7-b78 for changeset c60317f0dfe6 2009-12-17 14:10:24 -08:00
Michael Wilkerson
3ffd8a18c7 Added tag jdk7-b78 for changeset 185d9f127780 2009-12-17 14:10:20 -08:00
Michael Wilkerson
a5896f61a8 Added tag jdk7-b78 for changeset 2325bc76b570 2009-12-17 14:10:19 -08:00
Mandy Chung
886a7ade8f 6898747: Allow JNDI cosnaming provider to be used when java.applet is not present
Check if java.applet.Applet is present before accessing the type

Reviewed-by: alanb, vinnie
2009-12-17 08:11:21 -08:00
Jon Masamitsu
9610e7e0af Merge 2009-12-17 07:02:39 -08:00
Yong Jeffrey Huang
0ab16fe4a2 6646611: Incorrect spelling of month name in locale for Belarusian language ("be", "BY")
Reviewed-by: yhuang, peytoia
2009-12-17 02:28:59 -08:00
Yong Jeffrey Huang
bffc24639a 6645268: Country/language names with locale fi_FI are incorrect for FRANCE/FRENCH
Reviewed-by: yhuang, peytoia
2009-12-17 02:12:18 -08:00
Yong Jeffrey Huang
17e4f8df98 6450945: The week day for Saturday and the first week day in Romania locale are incorrect
Reviewed-by: yhuang, peytoia
2009-12-17 02:00:34 -08:00
Xiaobin Lu
3f61341b06 Merge 2009-12-17 01:19:07 -08:00
Michael Wilkerson
d25c6a3e0d Merge 2009-12-16 23:39:39 -08:00
Michael Wilkerson
fd6506d179 Merge 2009-12-16 23:39:21 -08:00
Michael Wilkerson
b661054f8d Merge 2009-12-16 23:38:55 -08:00
Tom Rodriguez
eb547a56a5 5057818: codecache full and compiler disabled in bigapps fastdebug run
Reviewed-by: kvn
2009-12-16 22:15:12 -08:00
Lana Steuck
060c593078 Merge 2009-12-16 16:25:08 -08:00
Xiaobin Lu
47f7d77695 Merge 2009-12-16 15:44:08 -08:00
Igor Veresov
1383dc414b 6862387: tune concurrent refinement further
Reworked the concurrent refinement: threads activation, feedback-based threshold adjustment, other miscellaneous fixes.

Reviewed-by: apetrusenko, tonyp
2009-12-16 15:12:51 -08:00
Xiaobin Lu
f42d7fcedb 6895168: JCK api/signaturetest/sigtest.basic.html#basic test fails for jdk 5.0 with HS 16 in nightly build
Reviewed-by: dholmes, acorn, jrose
2009-12-16 14:27:50 -08:00
Xiaobin Lu
f0f810c989 Merge 2009-12-16 13:19:57 -08:00
Xiaobin Lu
ad61b86753 6899467: System property java.class.version out-of-sync with VM for jdk 5.0 with HS 16 in nightly build
Reviewed-by: kvn, never, dholmes, ysr
2009-12-16 13:16:08 -08:00
Jesse Glick
a699196b30 6909462: Fix nbproject/private references in .hgignore
See bugzilla issue 100097

Reviewed-by: tbell
2009-12-16 12:52:23 -08:00
Jesse Glick
904638e8ab 6909462: Fix nbproject/private references in .hgignore
See bugzilla issue 100097

Reviewed-by: tbell
2009-12-16 12:52:09 -08:00
Jesse Glick
36bd014c87 6909462: Fix nbproject/private references in .hgignore
See bugzilla issue 100097

Reviewed-by: tbell
2009-12-16 12:52:04 -08:00
Jesse Glick
2291784cf1 6909462: Fix nbproject/private references in .hgignore
See bugzilla issue 100097

Reviewed-by: tbell
2009-12-16 12:52:01 -08:00
Jesse Glick
cef018f382 6909462: Fix nbproject/private references in .hgignore
See bugzilla issue 100097

Reviewed-by: tbell
2009-12-16 12:51:48 -08:00
Jesse Glick
7237125d51 6909462: Fix nbproject/private references in .hgignore
See bugzilla issue 100097

Reviewed-by: tbell
2009-12-16 12:51:41 -08:00
Jesse Glick
83f4b9c50a 6909462: Fix nbproject/private references in .hgignore
See bugzilla issue 100097

Reviewed-by: tbell
2009-12-16 12:51:38 -08:00
Kelly O'Hair
6d3a4136f9 6558110: tmp/java/jli/obj_g/static is not deleted automatically
Reviewed-by: ksrini
2009-12-16 12:45:18 -08:00
Paul Hohensee
ce423c9e98 6843629: Make current hotspot build part of jdk5 control build
Source changes for older compilers plus makefile changes.

Reviewed-by: xlu
2009-12-16 12:54:49 -05:00
Christian Thalinger
fae9c37803 6829192: JSR 292 needs to support 64-bit x86
Changes for method handles and invokedynamic

Reviewed-by: kvn
2009-12-16 12:48:04 +01:00
Lana Steuck
6d6ed99403 Merge 2009-12-16 00:09:57 -08:00
Igor Veresov
bcf018d026 Merge 2009-12-15 17:19:40 -08:00
Joe Darcy
37a980650b 6908131: Pure Java implementations of StrictMath.floor(double) & StrictMath.ceil(double)
Reviewed-by: alanb
2009-12-15 13:51:44 -08:00
Jonathan Gibbons
5722595a5b 6910317: [classfile] typo and other issues in Dependency classes
Reviewed-by: ksrini
2009-12-15 13:26:06 -08:00
Yuka Kamiya
5deb15889c 5047314: [Col] Collator.compare() runs indefinitely for a certain set of Thai strings
Reviewed-by: okutsu
2009-12-15 14:50:01 +09:00
Daniel D. Daugherty
ab3b12bdbd Merge 2009-12-14 13:26:29 -07:00
Daniel D. Daugherty
ce78944539 6849968: 3/2 JVMTI tests fails on jdk5.0 with hs14
If a JVMTI agent asks for version 1.0, then it should get version 1.0 semantics.

Reviewed-by: dholmes, ohair
2009-12-14 10:05:36 -07:00
Daniel D. Daugherty
8dd1b6ace1 6648438: 4/4 src/share/vm/prims/jvmtiEnv.cpp:457 assert(phase == JVMTI_PHASE_LIVE,"sanity check")
Return error on invalid JVMTI_PHASE instead of asserting.

Reviewed-by: dholmes, ohair
2009-12-14 09:51:09 -07:00
Jonathan Gibbons
8d1a5a5750 6907575: [classfile] add support for classfile dependency analysis
Reviewed-by: ksrini
2009-12-12 09:28:40 -08:00
Kelly O'Hair
588be91cc2 Merge 2009-12-11 17:18:38 -08:00
Erik Trimble
6f0c95f7a3 Merge 2009-12-11 16:38:37 -08:00
Andrew John Hughes
d610594e73 6909442: Fix comments in test/sun/tools/jhat/HatRun.java
Update the comments in this test to match the changes in 6902325

Reviewed-by: ohair
2009-12-11 23:47:10 +00:00
Kelly O'Hair
3f67c1c04a Merge 2009-12-11 15:29:46 -08:00
Kelly O'Hair
d44fe667d8 6909373: Add -ea to the testing done by jdk/test/Makefile
Reviewed-by: darcy
2009-12-11 15:29:22 -08:00
Jonathan Gibbons
75f1feee86 6906175: bridge JSR199 and JSR 203 APIs
Reviewed-by: darcy, alanb
2009-12-11 14:26:27 -08:00
Yumin Qi
4f656a451e 6361589: Print out stack trace for target thread of GC crash
If GC crashed with java thread involved, print out the java stack trace in error report

Reviewed-by: never, ysr, coleenp, dholmes
2009-12-11 11:09:49 -08:00
Joe Darcy
7f5baa6fe8 6909563: Javadoc build warnings in rmi, security, management
Reviewed-by: mchung, mullan
2009-12-11 10:40:14 -08:00
Jon Masamitsu
1bed5a3ded Merge 2009-12-11 09:30:48 -08:00
Jon Masamitsu
c5b5e2e3a7 Merge 2009-12-11 08:39:30 -08:00
Joe Darcy
82e58a7b13 6909538: Clarify meaning of "element" in javax.lang.model.element API
Reviewed-by: ahe
2009-12-10 20:35:31 -08:00
Yong Jeffrey Huang
d4f1ac859c 6873931: New Turkish currency since 2009
Reviewed-by: yhuang, peytoia
2009-12-10 17:26:47 -08:00
Kelly O'Hair
87e259bdb9 Merge 2009-12-10 16:57:05 -08:00
Joe Darcy
5d2842c0cf 4891262: API spec, javax/accessibility: few invalid javadoc tags
Reviewed-by: jjg
2009-12-10 13:28:07 -08:00
Joe Darcy
d4acc8e0fc 6909070: Missing package statements in java.text.Bidi @see links
Reviewed-by: anthony
2009-12-10 13:04:13 -08:00
Lana Steuck
ac644fa9f8 Merge 2009-12-10 09:50:09 -08:00
Lana Steuck
e4beee76a3 Merge 2009-12-10 09:46:13 -08:00
Lana Steuck
551e5452ec Merge 2009-12-10 09:43:48 -08:00
Chris Hegarty
3618013125 Merge 2009-12-10 09:08:51 -08:00
Sean Mullan
fdf2e817d8 Merge 2009-12-10 11:34:31 -05:00
Sean Mullan
317dfd5205 6867348: Digest Value of References inside Manifest - calculation order problem
Reviewed-by: xuelei
2009-12-10 11:31:22 -05:00
Chris Hegarty
526f2c6d7f 6909089: Memory leak occurs by lack of free for read buffer in SocketInputStream#read()
Reviewed-by: alanb, jccollet
2009-12-10 15:52:19 +00:00
Peter Zhelezniakov
6f392281ef 6827653: Make Synth UI classes public
Reviewed-by: alexp
2009-12-10 12:08:58 +03:00
John Cuthbertson
93d5e80a7e 6908215: G1: SEGV with G1PolicyVerbose=2 debug flag
Change CollectionSetChooser::printSortedHeapRegions to handle null entries in _markedRegions growable array.

Reviewed-by: jmasa, tonyp, iveresov
2009-12-09 23:51:38 -08:00
Mandy Chung
642c276d6c 6909082: Docs warning from java.util.logging.PlatformLoggingMXBean
Fix incorrect tag @See with @see.

Reviewed-by: darcy
2009-12-09 21:09:38 -08:00
Vladimir Kozlov
00f583219f 6896727: nsk/logging/LoggingPermission/LoggingPermission/logperm002 fails with G1, EscapeAnalisys
Move instance store's memory users to corresponding memory slices when updating its memory edge.

Reviewed-by: never
2009-12-09 19:50:14 -08:00
Joe Darcy
07d94668d2 6909057: @see Arrays#hashCode missing particular method specification in j.u.Objects.hash
Reviewed-by: ksrini
2009-12-09 17:55:48 -08:00
Vladimir Kozlov
9f5ca0249d 6895383: JCK test throws NPE for method compiled with Escape Analysis
Add missing checks for MemBar nodes in EA.

Reviewed-by: never
2009-12-09 16:40:45 -08:00
Kelly O'Hair
0562b20962 Merge 2009-12-09 09:50:09 -08:00
Kelly O'Hair
61c09153f3 6906210: Fix another minor typo in test/Makefile
Reviewed-by: tbell, dcubed
2009-12-09 09:46:57 -08:00
Andrei Dmitriev
9fa8250781 6903893: Fix failed for CR 6834576: RemoveChild/ test fail with deadlock on rhel and sles
Reviewed-by: dcherepanov, art
2009-12-09 14:33:55 +03:00
Anthony Petrov
f11ee4ea15 6900622: Security warning icon is not getting displayed properly for tooltip
Pass a correct value for the hWndInsertAfter argument to the ::SetWindowPos() function

Reviewed-by: art, dcherepanov
2009-12-09 14:02:48 +03:00
Sergey Malenkov
dc08e50479 6905574: DOC: Introspector's javadoc contains wrong statement
Reviewed-by: gsm
2009-12-09 11:38:30 +03:00
Sergey Malenkov
340a46710c 4638075: DOC: Doc for java.beans.PropertyDescriptor.getPropertyType() is incorrect
Reviewed-by: gsm
2009-12-09 11:34:18 +03:00
Yong Jeffrey Huang
bb80622091 6507067: TimeZone country/area message error
Reviewed-by: peytoia
2009-12-08 21:30:37 -08:00
Yong Jeffrey Huang
245eebd3c7 6609737: DateFormat incorrect for German locale
Reviewed-by: yhuang, peytoia
2009-12-08 21:26:59 -08:00
Yong Jeffrey Huang
c2b0820237 6645271: Wrong date format for Croatian (hr) locale
Reviewed-by: yhuang, peytoia
2009-12-08 21:19:23 -08:00
Yong Jeffrey Huang
d87dfc7a2e 6610748: Dateformat - AM-PM indicator in Finnish appears to be from English
Reviewed-by: yhuang, peytoia
2009-12-08 21:14:04 -08:00
Weijun Wang
8e1f9a0dd3 6908628: ObjectIdentifier s11n test fails
Reviewed-by: xuelei
2009-12-09 11:15:25 +08:00
Tom Rodriguez
dfbb0bf3e2 6908167: jbb2005, OptimizeStringConcat causes assert in EA
Reviewed-by: kvn
2009-12-08 16:27:21 -08:00
Y. Srinivas Ramakrishna
d090b4fe29 6908208: UseCompressedOops: array_size() returns incorrect size for MAX_INT object array following 6906727
In array_size() cast to an unsigned to avoid overflow of intermediate value.

Reviewed-by: kvn, tonyp, jmasa, jcoomes, coleenp
2009-12-08 15:12:17 -08:00
Jesse Wilson
1c4f3aa56b 6903754: (bf) Improve floating-point buffer comparison
Describe the exact behavior of {Double,Float}Buffer.{equals,compareTo}; fix non-anti-symmetric behavior of compareTo

Reviewed-by: alanb
2009-12-08 12:41:01 -08:00
Tim Bell
4a1724d4b4 Merge 2009-12-08 09:16:34 -08:00
Tim Bell
b66d49a7f2 Merge 2009-12-08 09:15:33 -08:00
Tim Bell
3e9fb87cf0 Merge 2009-12-08 09:14:58 -08:00
Mandy Chung
881a1c5842 6907568: java/awt/KeyboardFocusManager.java inproperly merged and lost a changeset
Reapply fix for 6879044 in java.awt.KeyboardFocusManager

Reviewed-by: dcherepanov, asaha
2009-12-08 09:02:09 -08:00
Josh Bloch
decdef947b 6905046: More Dual-pivot quicksort improvements
More improvements from the DPQ team

Reviewed-by: alanb
2009-12-08 12:40:30 +00:00
Martin Buchholz
74ad65ac21 6900043: Add method to return line.separator property
Add System.lineSeparator(), returning getProperty("line.separator")

Reviewed-by: darcy
2009-12-07 16:44:40 -08:00
Martin Buchholz
5732731ca5 6905029: Broken links in Deflater and DeflaterOutputStream javadoc
Fix syntax errors in @links

Reviewed-by: alanb
2009-12-07 15:32:26 -08:00
Jonathan Gibbons
3d3790d91c 6907660: stupid typo in ZipFileIndex guarantees NPE
Reviewed-by: darcy
2009-12-07 14:35:07 -08:00
Alan Bateman
cce522196a Merge 2009-12-07 20:25:59 +00:00
Antonios Printezis
203cd9408a 6904967: G1: some CollectionUsageThreshold tests fail
Ensure that max and committed are non-zero (currently: at least as large as the region size).

Reviewed-by: iveresov, mchung
2009-12-07 14:22:34 -05:00
Vinnie Ryan
5c20a6292f 6876158: Remove dependencies on Signer, Certificate, Identity, IdentityScope classes from java.security pkg
Reviewed-by: alanb, mullan
2009-12-07 17:06:59 +00:00
Anton Tarasov
45c70cd97e 6903890: SWT_AWT focus issues when a dialog is shown/disposed, on X11
Reviewed-by: art, dcherepanov
2009-12-07 16:38:44 +03:00
Alan Bateman
21d2a75a16 6902010: (cl) Delay initialization of ClassLoader.parallelLoaders
Reviewed-by: forax, mchung, valeriep
2009-12-07 12:29:14 +00:00
Alan Bateman
76e3aaa436 6903753: (se) Selector should implement Closeable
Reviewed-by: chegar, forax
2009-12-07 12:24:57 +00:00
Dmitry Cherepanov
295a7c98ef Merge 2009-12-07 14:07:05 +03:00
Dmitry Cherepanov
f4e9916898 6823138: Need to replace ComponentAccessor with AWTAccessor
Reviewed-by: art, anthony
2009-12-07 13:43:04 +03:00
Yuri Nesterenko
0974e6c1f3 5099725: AWT doesn't seem to handle MappingNotify events under X11
5036807: Pressing action keys "STOP/AGAIN/COMPOSE" generates keycode of F11/F12 keys
4787377: VK_STOP key on Solaris generates wrong Key Code

Added an event processing lumped with similar native code for similar bugs.

Reviewed-by: art
2009-12-07 13:32:50 +03:00
Weijun Wang
45eee34489 6886058: JNDI LDAP InitialLdapContext SECURITY_CREDENTIALS byte[] can be corrupted, then LDAP referral fails
Reviewed-by: vinnie, xuelei
2009-12-07 15:29:44 +08:00
Weijun Wang
19061b3584 6879540: enable empty password for kerberos 5
Reviewed-by: valeriep, wetmore
2009-12-07 15:27:29 +08:00
Yong Jeffrey Huang
945eaabe91 6868106: Ukrainian currency has wrong format
Reviewed-by: yhuang, peytoia
2009-12-06 22:18:07 -08:00
Antonios Printezis
911a80e5d5 6906565: G1: deal with compilation warning in g1MemoryPool.hpp
Size_t max_size() hides size_t max_size() const.

Reviewed-by: jmasa, ysr
2009-12-04 07:44:41 -05:00
Antonios Printezis
8a125d9913 6880903: G1: G1 reports incorrect Runtime.maxMemory()
G1 reports committed memory instead of reserved memory from the Runtime.maxMemory() method

Reviewed-by: ysr, jmasa
2009-12-04 07:44:35 -05:00
Anton Tarasov
7eb100548d 6903354: deadlock involving Component.show & SunToolkit.getImageFromHash
Reviewed-by: art, bae
2009-12-04 15:07:15 +03:00
Joe Darcy
c40412f4f4 6907177: Update jdk tests to remove unncessary -source and -target options
Reviewed-by: ohair
2009-12-03 18:19:10 -08:00
Y. Srinivas Ramakrishna
d875a8e0f1 6906727: UseCompressedOops: some card-marking fixes related to object arrays
Introduced a new write_ref_array(HeapWords* start, size_t count) method that does the requisite MemRegion range calculation so (some of the) clients of the erstwhile write_ref_array(MemRegion mr) do not need to worry. This removed all external uses of array_size(), which was also simplified and made private. Asserts were added to catch other possible issues. Further, less essential, fixes stemming from this investigation are deferred to CR 6904516 (to follow shortly in hs17).

Reviewed-by: kvn, coleenp, jmasa
2009-12-03 15:01:57 -08:00
Joe Darcy
3229a1bbc6 6906748: Project Coin: Minor strings in switch cleanup
Reviewed-by: jjg
2009-12-03 14:03:53 -08:00
Vinnie Ryan
5debca27af 6906854: SSL/Krb5 testcase should not use a fixed port number
Reviewed-by: alanb
2009-12-03 21:30:27 +00:00
Michael Wilkerson
d57c12160a Added tag jdk7-b77 for changeset 2edda439128d 2009-12-03 12:53:12 -08:00
Michael Wilkerson
0a842f22b7 Added tag jdk7-b77 for changeset 78820074e4d5 2009-12-03 12:53:03 -08:00
Michael Wilkerson
480bbd3130 Added tag jdk7-b77 for changeset 8b1d8a20852f 2009-12-03 12:52:54 -08:00
Michael Wilkerson
f875dbf9f5 Added tag jdk7-b77 for changeset d396d3706e0b 2009-12-03 12:52:54 -08:00
Michael Wilkerson
740223f03b Added tag jdk7-b77 for changeset 3b5dba03cfd7 2009-12-03 12:52:49 -08:00
Michael Wilkerson
aa82a2f3a8 Added tag jdk7-b77 for changeset a9713976af74 2009-12-03 12:52:46 -08:00
Michael Wilkerson
ccdb4e2e14 Added tag jdk7-b77 for changeset 606fe54fc200 2009-12-03 12:52:45 -08:00
David Holmes
baf249687c Merge 2009-12-02 20:32:27 -05:00
Lana Steuck
7dc92db304 Merge 2009-12-02 16:18:20 -08:00
Changpeng Fang
8a9580b1a1 6901572: JVM 1.6.16 crash on loops: assert(has_node(i),"")
Skip the secondary induction variable handling if it is dead

Reviewed-by: never, kvn
2009-12-02 13:29:00 -08:00
Vinnie Ryan
7a403456e5 Merge 2009-12-02 17:34:56 +00:00
Vinnie Ryan
6e6324c607 6906510: Fix testcase for 6894643: Separate out dependency on Kerberos
Reviewed-by: weijun
2009-12-02 17:06:50 +00:00
Coleen Phillimore
0f3f714a22 Merge 2009-12-02 07:59:49 -08:00
Anton Tarasov
b0a13700e1 6566375: PIT : test/java/awt/KeyboardFocusmanager/TypeAhead/TestDialogTypeAhead.html
Reviewed-by: art, dcherepanov
2009-12-02 17:26:23 +03:00
Anthony Petrov
44e0bda21c 6901021: Security Warning Icon not getting displayed properly when frame loses focus
Make sure the gray icon is selected when hiding the security warning

Reviewed-by: art, dcherepanov
2009-12-02 14:51:39 +03:00
Igor Veresov
b5e3a7a597 Merge 2009-12-01 22:11:01 -08:00
David Holmes
10232cb341 6822370: ReentrantReadWriteLock: threads hung when there are no threads holding onto the lock (Netra x4450)
This day one bug is caused by missing memory barriers in various Parker::park() paths that can result in lost wakeups and hangs.

Reviewed-by: dice, acorn
2009-12-01 22:29:02 -05:00
Igor Veresov
7dc1f5f545 Merge 2009-12-01 14:49:41 -08:00
Kelly O'Hair
759c63a953 Merge 2009-12-01 08:54:10 -08:00
Kelly O'Hair
0ce235a4da 6905705: Fix broken exit code values in jdk/test/Makefile
Reviewed-by: tbell
2009-12-01 08:51:16 -08:00
Phil Race
2bea841cbe 6904962: GlyphVector.getVisualBounds should not be affected by leading or trailing white space
Reviewed-by: igor, dougfelt
2009-11-30 14:39:35 -08:00
Kelly O'Hair
cd8f275bdb 6903197: Some java template files need to be renamed to .java.template
Reviewed-by: alanb
2009-11-30 14:15:15 -08:00
Sergey Malenkov
b6b042bf8f 6905516: Test failed: java/beans/EventHandler/Test6788531.java
Reviewed-by: peterz
2009-11-30 18:30:50 +03:00
Sergey Malenkov
b7292e2cf4 6905515: Test failed: java/beans/XMLEncoder/6329581/Test6329581.java
Reviewed-by: peterz
2009-11-30 18:26:52 +03:00
Gary Benson
63cc2211ed 6896043: first round of zero fixes
Reviewed-by: kvn
2009-11-27 07:56:58 -08:00
Alex Menkov
deae1ac3ea Merge 2009-11-27 18:38:21 +03:00
Alex Menkov
f0c4f1b346 Merge 2009-11-27 18:36:51 +03:00
Omair Majid
609f2d2cef 6832063: OpenJDK fails to open the default ALSA device when PulseAudio is enabled
Reviewed-by: amenkov
2009-11-27 17:54:45 +03:00
Karl Helgason
a9413787d9 6823449: Gervill: ArrayIndexOutOfBoundsException thrown when trying to play too may voices at same time
Reviewed-by: amenkov
2009-11-27 17:36:34 +03:00
Karl Helgason
dca3f935d4 6833357: Improve time-stamp support in Gervill to reduce jitter
Reviewed-by: amenkov
2009-11-27 17:13:02 +03:00
Anthony Petrov
d7b200bf35 6402325: Swing toolbars vs native toolbars on Windows
Introduce support for different window types: NORMAL, UTILITY, POPUP

Reviewed-by: art, dcherepanov
2009-11-27 16:07:32 +03:00
Artem Ananiev
a6dd224efd 4913324: Deadlock when using two event queues
Reviewed-by: anthony, ant, dcherepanov
2009-11-27 15:26:07 +03:00
Sergey Malenkov
69190da5ef 5102804: Memory leak in Introspector.getBeanInfo(Class) for custom BeanInfo: Class param
Reviewed-by: peterz
2009-11-27 15:24:43 +03:00
Masayoshi Okutsu
a9d5e9765c 6904997: (tz) Windows-only: tzmappings needs update for KB976098
Reviewed-by: peytoia
2009-11-27 16:20:36 +09:00
Lana Steuck
3336503bbb Merge 2009-11-25 22:14:30 -08:00
Lana Steuck
65690ed0dc Merge 2009-11-25 14:37:03 -08:00
Changpeng Fang
a3b6bcb4a8 6904191: OptimizeStringConcat should be product instead of experimental
Make OptimizeStringConcat a product VM option(contributed by never)

Reviewed-by: never
2009-11-25 12:09:02 -08:00
Kelly O'Hair
56fe8463ef Merge 2009-11-25 11:08:25 -08:00
Kelly O'Hair
3861eab4c7 Merge 2009-11-25 11:05:35 -08:00
Damjan Jovanovic
f2e3043d12 4899516: Transferable has no DataFlavors when dragging from Gnome window to Swing
Reviewed-by: uta, dav
2009-11-25 21:27:06 +03:00
Peter Zhelezniakov
79eb513674 6888156: With GTK Look and Feel Icons cannot be rendered in Jtable Cells
Reviewed-by: rupashka
2009-11-25 20:47:20 +03:00
Mandy Chung
b409d16477 6888880: JKernel VM to inject the sun.jkernel.DownloadManager as a boot classloader hook
Call sun.jkernel.DownloadManager.setBootClassLoaderHook during the kernel VM initialization

Reviewed-by: alanb, coleenp, acorn
2009-11-25 08:37:04 -08:00
Kelly O'Hair
547328d305 6904183: Fix jdk/test/com/sun/jdi tests to run with -samevm
Reviewed-by: dcubed
2009-11-25 08:24:58 -08:00
Keith McGuigan
c3f175e0d5 Merge 2009-11-25 09:03:42 -05:00
Lana Steuck
314207e7f5 Merge 2009-11-24 18:12:46 -08:00
John Cuthbertson
5a239d996b 6899058: G1: Internal error in ptrQueue.cpp:201 in nightly tests
Fixes a race on the dirty card queue completed buffer list between worker thread(s) performing a flush of a deferred store barrier (enqueueing a newly completed buffer) and worker thread(s) in the RSet updating code claiming completed buffers. Removed the routine that removes elements from the completed update buffer queue using a CAS.

Reviewed-by: ysr, tonyp
2009-11-24 15:19:30 -08:00
Changpeng Fang
4a2266601a Merge 2009-11-24 11:49:42 -08:00
Denis Fokin
812677f720 5098433: REG: DnD of File-List between JVM is broken for non ASCII file names - Win32
Reviewed-by: uta, dav
2009-11-24 18:46:17 +03:00
Tim Bell
fe7ec80761 Merge 2009-11-23 19:58:05 -08:00
Tim Bell
0b4fe8b0f0 Merge 2009-11-23 19:57:01 -08:00
Tim Bell
ffe9d096fe Merge 2009-11-23 19:55:20 -08:00
Mandy Chung
c4a76500f4 Merge 2009-11-23 14:59:55 -08:00
Karen Kinnear
8b3ec53033 Merge 2009-11-23 16:24:35 -05:00
Kelly O'Hair
e091887f7a Merge 2009-11-23 13:00:34 -08:00
Alan Bateman
84a48a7293 6888171: JMX Monitor API should not require JavaBeans to be present
Reviewed-by: emcmanus
2009-11-23 19:26:16 +00:00
Sean Mullan
f62a9f4ec7 Merge 2009-11-23 13:57:52 -05:00
Mandy Chung
2fddcea5f8 Merge 2009-11-23 10:46:19 -08:00
Florian Brunner
5db737cd4c 6823603: Generics: JList
Reviewed-by: peterz, alexp
2009-11-23 20:57:17 +03:00
Kelly O'Hair
d020b04219 6902666: Include closed tests in the test/Makefile jdk_* targets
6902667: Fix JT_HOME not working from env in jdk/test/Makefile

Reviewed-by: mullan, dcubed
2009-11-23 09:51:52 -08:00
Sean Mullan
3932bb1884 6899503: Security code issue using Verisign root certificate
Add support for reordering out-of-order certificate chains

Reviewed-by: vinnie, xuelei
2009-11-23 12:36:54 -05:00
Daniel D. Daugherty
3552fe5b4a 6903102: 3/3 fixes in nightly testing version of ShellScaffold.sh need to be committed
Merge Jim's ShellScaffold.sh fixes with Tim's ShellScaffold.sh fixes.

Reviewed-by: tbell
2009-11-23 10:29:33 -07:00
Mandy Chung
01a5fb5da5 6903638: Remove dependency on AuthPermission from SecurityConstants
Move two static fields from SecurityConstants to javax.security.auth.Subject

Reviewed-by: mullan
2009-11-23 08:21:20 -08:00
Gary Benson
d6a4ac9734 6903453: Zero build on ARM and IA-64
Correctly set uname on ARM, and correctly build fdlibm on IA-64

Reviewed-by: ohair
2009-11-23 10:04:47 +00:00
Gary Benson
bab0e148d6 6903453: Zero build on ARM and IA-64
Correctly set uname on ARM, and correctly build fdlibm on IA-64

Reviewed-by: ohair
2009-11-23 10:04:41 +00:00
Paul Hohensee
4aba621c22 6900899: vm fails to start when -Xmx value is less than OldSize + NewSize
Set minimum heap size to min(OldSize + NewSize, MaxHeapSize) in Arguments::set_heap_size().

Reviewed-by: kvn, ysr, tonyp
2009-11-20 16:22:38 -05:00
Antonios Printezis
9cf0c891d9 6815790: G1: Missing MemoryPoolMXBeans with -XX:+UseG1GC
It introduces the necessary memory pools for G1.

Reviewed-by: mchung, ysr
2009-11-20 14:47:01 -05:00
Jonathan Gibbons
42bf8347dc 6902337: fix langtools build to allow forward refs into jdk/ repo
Reviewed-by: ohair, mcimadamore
2009-11-20 11:18:43 -08:00
Kumar Srinivasan
3d2d85a19c 6367077: Purge LD_LIBRARY_PATH usage from the launcher
6899834: (launcher) remove the solaris libjvm.so symlink

Fixes other related issues as well.

Reviewed-by: darcy, ohair, xlu, martin
2009-11-20 11:01:32 -08:00
Tim Bell
9150551f00 Merge 2009-11-29 15:24:32 -08:00
Weijun Wang
22d5c338db 6770883: Infinite loop if SPNEGO specified as sun.security.jgss.mechanism
Reviewed-by: valeriep
2009-11-27 08:51:58 +08:00
Weijun Wang
61fe319f78 6901085: SPNEGO does not works with native program
Reviewed-by: valeriep
2009-11-27 08:51:42 +08:00
Weijun Wang
6a6d0a3c7a 6853328: Support OK-AS-DELEGATE flag
Reviewed-by: valeriep
2009-11-27 08:51:28 +08:00
Jonathan Gibbons
046d1831b0 6903456: 6898585 drops javadoc doclet.xml from JDK
Reviewed-by: ohair
2009-11-20 10:15:54 -08:00
Damjan Jovanovic
117f4401d0 6863566: Java should support the freedesktop.org startup notification specification
The startup notification gets removed as soon as a Java top-level window is shown

Reviewed-by: anthony, art, dcherepanov
2009-11-20 19:11:47 +03:00
Jean-Christophe Collet
4da1e67db3 6901170: HttpCookie parsing of version and max-age mis-handled
Accept single quotes in cookies and better exception handling in CookieManager

Reviewed-by: chegar
2009-11-20 14:50:55 +01:00
Vladimir Kozlov
39a98bab1d 6902036: WorldWind asserts on escape.cpp:1153: assert(addr->is_AddP(),"AddP required")
Remove the assert.

Reviewed-by: twisti
2009-11-19 14:32:23 -08:00
Y. Srinivas Ramakrishna
b5af9f3408 6902303: G1: ScavengeALot should cause an incremental, rather than a full, collection
ScavengeALot now causes an incremental (but possibly partially young, in the G1 sense) collection. Some such collections may be abandoned on account of MMU specs. Band-aided a native leak associated with abandoned pauses, as well as an MMU tracker overflow related to frequent scavenge events in the face of a large MMU denominator interval; the latter is protected by a product flag that defaults to false.

Reviewed-by: tonyp
2009-11-19 13:43:25 -08:00
Jonathan Gibbons
a502ed59ba 6902720: javac pretty printer does not handle enums correctly
Reviewed-by: mcimadamore
2009-11-19 11:49:27 -08:00
Jonathan Gibbons
26a6e8a198 6900511: javac command line help broken
Reviewed-by: ksrini
2009-11-19 11:43:43 -08:00
Jonathan Gibbons
ea8f607432 6902264: fix indentation of tableswitch and lookupswitch
Reviewed-by: ksrini
2009-11-19 11:38:38 -08:00
Y. Srinivas Ramakrishna
c54bb4236d 6902701: G1: protect debugging code related to 6898948 with a debug flag
Protected stats dump with a new develop flag; other than for the dump, reconciled product and non-product behaviour in face of the error.

Reviewed-by: tonyp
2009-11-19 10:19:19 -08:00
Christian Thalinger
e6547d1b20 6902000: use ShouldNotReachHere() for btos/ctos/stos in TemplateInterpreterGenerator::set_short_entry_points
Set_entry_point is only ever used with the tos states of bytecode templates in templateTable.cpp and none of those use the subword tos states like btos, ctos and stos.

Reviewed-by: kvn
2009-11-19 03:41:29 -08:00
Mandy Chung
8d62fe076c 6902678: com.sun.tracing.ProviderFactory.createProvider doesn't throw IllegalArgumentException
DoPrivileged for calls that have permission check instead of catching all exceptions

Reviewed-by: kamg, dcubed
2009-11-18 22:29:16 -08:00
Lana Steuck
a23c7f2fe8 Merge 2009-11-18 18:56:59 -08:00
Lana Steuck
228f3f7726 Merge 2009-11-18 17:17:56 -08:00
Lana Steuck
f3baefc4fb Merge 2009-11-18 17:16:27 -08:00
Kelly O'Hair
d0c9ba3fe5 6727046: Add message when docs are skipped in control build
6864011: typo? in top level Makefile: DAYE_STAMP

Reviewed-by: jjg
2009-11-18 16:41:09 -08:00
Kelly O'Hair
baee1c1d65 Merge 2009-11-18 11:15:12 -08:00
Kelly O'Hair
1430b5b151 Merge 2009-11-18 11:13:31 -08:00
Keith Randall
f1fd7e28fe 6892742: Improve root set used by jhat
Reviewed-by: tbell, dcubed
2009-11-18 11:12:28 -08:00
Kelly O'Hair
5ef31ba152 6902323: Fix testcase sun/tools/native2ascii/NativeErrors.java
6902325: Fix testcase sun/tools/jhat/HatHeapDump1Test.java

Reviewed-by: tbell, dcubed
2009-11-18 11:10:18 -08:00
Sean Mullan
1b92857246 6894461: OCSP Checker should not wrap all Exception as "Unable to send OCSP request."(introduced by #6885667)
Reviewed-by: vinnie, xuelei
2009-11-18 12:34:26 -05:00
Peter Zhelezniakov
92cb82eecb 6882917: Nimbus and DefaultTableCellRenderer: must start with normal background
Reviewed-by: rupashka
2009-11-18 17:36:46 +03:00
Pavel Porvatov
207583b21e 6520574: JFileChooser - create new folder - not editable
Reviewed-by: malenkov
2009-11-18 12:58:02 +03:00
Jonathan Gibbons
538c9dbddf 6898585: restructure langtools build.xml to facilitate more options for <build-classes> macro
Reviewed-by: ohair
2009-11-17 16:45:19 -08:00
Tim Bell
9eead35e64 Merge 2009-11-17 10:35:52 -08:00
Tim Bell
f8f68e8a7d Merge 2009-11-17 10:25:19 -08:00
Tim Bell
319c7863ef Merge 2009-11-17 10:23:50 -08:00
Tim Bell
827d3bb60e Merge 2009-11-17 10:23:15 -08:00
Pavel Porvatov
7ab71fb443 6868611: FileSystemView throws NullPointerException
Reviewed-by: peterz
2009-11-17 16:01:09 +03:00
Vladimir Yaroslavskiy
c09da77c87 6901318: Yet more Dual-pivot quicksort improvements
Reviewed-by: jjb
2009-11-17 09:44:43 +00:00
Alan Bateman
69fbaac381 6890458: Datatransfer API should not require RMI to be present
Reviewed-by: uta
2009-11-16 18:13:15 +00:00
Tomas Hurka
0a8ab811e9 6858708: HotspotDiagnosticMXBean.setVMOption() throws NullPointerException
Add a null check for the VM option string

Reviewed-by: mchung, ohair
2009-11-16 15:33:05 +01:00
Y. Srinivas Ramakrishna
241f0f0cd8 6898948: G1: forensic instrumentation for out-of-bounds recent_avg_pause_time_ratio()
Added instrumentation and (temporary) assert in non-product mode; clipped the value when found out-of-bounds in product mode. Fix of original issue will follow collection of data from this instrumentation.

Reviewed-by: jcoomes, tonyp
2009-11-13 11:55:26 -08:00
Mandy Chung
77bbeddd31 Merge 2009-11-12 15:42:18 -08:00
David Katleman
4d0aedf53a Added tag jdk7-b76 for changeset bd950c8f4fb3 2009-11-12 15:36:01 -08:00
David Katleman
168d1ad525 Added tag jdk7-b76 for changeset 731e12a5b61d 2009-11-12 15:35:52 -08:00
David Katleman
4a8601fc81 Added tag jdk7-b76 for changeset bd5ae0a4bc94 2009-11-12 15:35:47 -08:00
David Katleman
1511ef1bd9 Added tag jdk7-b76 for changeset 430015834eb3 2009-11-12 15:35:43 -08:00
David Katleman
39adc1c2b2 Added tag jdk7-b76 for changeset 02d36709a16f 2009-11-12 15:35:38 -08:00
David Katleman
24dd776251 Added tag jdk7-b76 for changeset 2180f3e03264 2009-11-12 15:35:35 -08:00
David Katleman
e9f0ee8846 Added tag jdk7-b76 for changeset ef0a6062eaec 2009-11-12 15:35:34 -08:00
Vinnie Ryan
2a073650dc Merge 2009-11-12 23:04:42 +00:00
Vinnie Ryan
005e04bd07 6894643: Separate out dependency on Kerberos
Reviewed-by: alanb, xuelei
2009-11-12 23:00:23 +00:00
Mandy Chung
9c954f92e7 6899851: Regression causes new dependency to jkernel
Replaced sun.jkernel.DownloadManager calls with BootClassLoaderHook

Reviewed-by: bae, asaha
2009-11-12 10:29:21 -08:00
Tom Rodriguez
9db2092b1b 6892658: C2 should optimize some stringbuilder patterns
Reviewed-by: kvn, twisti
2009-11-12 09:24:21 -08:00
Alan Bateman
b9e854d900 6898124: Bidi should not require AWT to be present
Reviewed-by: okutsu
2009-11-12 11:20:51 +00:00
Yuka Kamiya
274e8c83b2 6842557: NumericShaper needs to be updated for Unicode 5.1 support
6843181: NumericShaper is not thread-safe
6900137: Typo in API Doc for NumericShaper

Reviewed-by: okutsu
2009-11-12 18:59:19 +09:00
Dmitry Cherepanov
58c459c32e 6882909: Resetting a full-screen window to normal rotates screen to normal orientation
Retain rotation upon change to full screen mode

Reviewed-by: art, anthony
2009-11-12 12:06:46 +03:00
Tom Rodriguez
1fb2423873 6892079: live value must not be garbage failure after fix for 6854812
Reviewed-by: kvn
2009-11-11 23:39:17 -08:00
Karen Kinnear
47748afed5 6893504: LinkageError for bootstrap duplicate class definitions
Reviewed-by: kamg, xlu
2009-11-11 15:49:38 -05:00
Kelly O'Hair
7a3e45cb46 6900341: jaxp/jaxws ant scripts using ant runtime in classpath, needs to be explicit
Reviewed-by: tbell
2009-11-11 11:19:10 -08:00
Kelly O'Hair
59ea6ab4d5 6900341: jaxp/jaxws ant scripts using ant runtime in classpath, needs to be explicit
Reviewed-by: tbell
2009-11-11 11:17:51 -08:00
Alan Bateman
186882959d 6900234: Several NIO tests should be removed from test/ProblemList.txt
Reviewed-by: chegar
2009-11-11 16:22:27 +00:00
Dmitry Cherepanov
67ffb33afa 6880694: GraphicsDevice.setFullScreenWindow(null) throws NPE if there's a fullscreen window displayed
Handle "empty" refresh rates

Reviewed-by: art, anthony
2009-11-11 19:18:27 +03:00
Dmitry Cherepanov
1fbf705739 6852111: Unhandled 'spurious wakeup' in java.awt.EventQueue.invokeAndWait()
Introduced InvocationEvent.isDispatched method

Reviewed-by: art, anthony
2009-11-11 17:46:58 +03:00
Vladimir Yaroslavskiy
0d83336729 6899694: Dual-pivot quicksort improvements
Co-authored-by: Joshua Bloch <joshua.bloch@google.com>
Reviewed-by: jjb
2009-11-11 14:38:01 +00:00
Keith McGuigan
01b706e9f9 Merge 2009-11-11 09:13:12 -05:00
Yuka Kamiya
a1e00ce934 6899397: (tz) Support tzdata2009r
Reviewed-by: okutsu
2009-11-11 15:38:47 +09:00
Changpeng Fang
2c40841f3f Merge 2009-11-10 17:00:18 -08:00
Jon Masamitsu
bedf908436 6898857: [Regression] -XX:NewRatio with -XX:+UseConcMarkSweepGC causes fatal error
Use CollectorPolicy information instead of MaxNewSize

Reviewed-by: ysr, jcoomes
2009-11-10 11:32:48 -08:00
Alan Bateman
a5e7fb4543 6899147: java.beans.MetaData should not require JDBC to be present
Reviewed-by: malenkov
2009-11-10 13:09:50 +00:00
Alan Bateman
aac491b420 6898234: (dc) Multicast tests fail on OpenSolaris with vboxnet0 adapter
Reviewed-by: chegar
2009-11-10 10:51:31 +00:00
Mandy Chung
a7ec8a6b09 6899607: Update java.util.prefs.FileSystemPreferences to use PlatformLogger
Update java.util.prefs.FileSystemPreferences to use PlatformLogger

Reviewed-by: sherman
2009-11-09 21:32:16 -08:00
Phil Race
2fdf51d313 6899078: potential deadlock and performance issue in freeing strike resources with D3D pipeline
Reviewed-by: tdv, igor
2009-11-09 14:23:49 -08:00
Kelly O'Hair
88c07c4b25 6899444: Fix demo/jvmti tests so they can run in jtreg samevm mode, cleanup problemlist
Reviewed-by: tbell
2009-11-09 12:38:32 -08:00
Abhijit Saha
cc1b7fd05d Merge 2009-11-09 07:38:05 -08:00
Kelly O'Hair
d12589297c 6888927: Fix jdk jtreg tests to indicate which ones need othervm, allow for use of samevm option
Reviewed-by: tbell, jjg, alanb
2009-11-08 15:11:10 -08:00
Kelly O'Hair
b613e03d39 Merge 2009-11-08 14:49:40 -08:00
Kelly O'Hair
fd5d7900ac Merge 2009-11-08 14:49:18 -08:00
Kelly O'Hair
b8662399d3 Merge 2009-11-08 14:46:27 -08:00
Abhijit Saha
b7a372efca Merge 2009-11-06 21:32:35 -08:00
Tim Bell
29be50f770 Merge 2009-11-06 17:29:00 -08:00
Tim Bell
44accdb4b7 Merge 2009-11-06 17:27:41 -08:00
Tim Bell
ece864b57d Merge 2009-11-06 17:26:24 -08:00
Tim Bell
c711baca1d Merge 2009-11-06 17:26:01 -08:00
Abhijit Saha
31d05a3363 Merge 2009-11-06 16:07:52 -08:00
Keith McGuigan
a3b18775c7 Merge 2009-11-06 16:05:59 -05:00
Keith McGuigan
d98c05b678 Merge 2009-11-06 15:04:26 -05:00
Alexander Potochkin
eedc1f473a 6878399: public SwingUtilities.getParentViewport() is required
Reviewed-by: peterz
2009-11-06 22:40:58 +03:00
Alexander Potochkin
f28a61c6d9 Merge 2009-11-06 22:33:40 +03:00
Alexander Potochkin
e0b6c6ec3f 6879228: LayerUI should be extended
Reviewed-by: peterz
2009-11-06 22:26:37 +03:00
John Cuthbertson
f473d94b9c 6895788: G1: SATB and update buffer allocation code allocates too much space
The type in the NEW_C_HEAP_ARRRY and FREE_C_HEAP_ARRAY calls in the buffer allocation code was changed from void* to char as the size argument had already been mulitipled by the byte size of an object pointer.

Reviewed-by: ysr, tonyp
2009-11-06 11:10:05 -08:00
Alex Menkov
ab33367c0a 6887318: Incorrect constant used in DirectSound Mixer implementation
Reviewed-by: uta
2009-11-06 19:48:56 +03:00
Alexander Potochkin
bbe245dca3 6657138: Mutable statics in Windows PL&F (findbugs)
Reviewed-by: peterz, hawtin
2009-11-06 19:48:09 +03:00
Alex Menkov
83ed100592 6744801: JCK api/javax_sound/interactive/RecordSoundTest.html#RecordSoundTest fails on Solaris10 x64 for -d64
Reviewed-by: dav
2009-11-06 19:47:32 +03:00
Pavel Porvatov
e918d4b860 6621569: Win32ShellFolder2 and Win32ShellFolderManager2 may leak native resources
Reviewed-by: malenkov
2009-11-06 12:44:41 +03:00
Erik Trimble
37c4dee7db Merge 2009-11-06 00:41:40 -08:00
Daniel Martin
2baf7ea7dc 6898220: Optimize Formatter.parse (including String.printf)
Create fewer objects when parsing

Reviewed-by: sherman
2009-11-05 16:12:45 -08:00
Martin Buchholz
450da8a061 6897553: LinkedList performance improvements
LinkedList of size N creates N+1 instead of N+2 objects.  Comparing against null is faster than comparing against sentinel node

Reviewed-by: dl, jjb, forax
2009-11-05 16:12:45 -08:00
Erik Trimble
61acb34177 6898707: Bump the HS17 build number to 05
Update the HS17 build number to 05

Reviewed-by: jcoomes
2009-11-05 15:58:32 -08:00
Erik Trimble
98ce9a72d2 Merge 2009-11-05 15:44:04 -08:00
Andrew John Hughes
4b41f78b01 6898251: Add ALT_DROPS_DIR feature to jaxp/jaxws
Allowthe directory for downloaded drops to beset using ALT_DROPS_DIR

Reviewed-by: ohair, jjg
2009-11-05 00:02:38 +00:00
Andrew John Hughes
e1fabca4ec 6898251: Add ALT_DROPS_DIR feature to jaxp/jaxws
Allow the directory for downloaded drops to be set using ALT_DROPS_DIR

Reviewed-by: ohair, jjg
2009-11-05 00:00:48 +00:00
Igor Chernyshev
fb6b9445d7 6897993: (se) Close or cancel performance issue when number of pending updates is high (lnx)
Use O(1) Iterator instead of O(N) operations on LinkedList updateList

Reviewed-by: alanb
2009-11-04 15:22:30 -08:00
Vladimir Kozlov
c5744bd138 6896352: CTW fails hotspot/src/share/vm/opto/escape.cpp:1155
Always call C->get_alias_index(phase->type(address)) during parsing.

Reviewed-by: never
2009-11-04 14:43:50 -08:00
Vladimir Kozlov
9c1321eed3 6896370: CTW fails share/vm/opto/matcher.cpp:1475 "duplicating node that's already been matched"
Move DecodeN code outside the memory nodes only code.

Reviewed-by: never
2009-11-04 14:16:20 -08:00
Paul Hohensee
e38fa6385f 6898160: Need serviceability support for new vm argument type 'uint64_t'
Add serviceability support for uint64_t. Flags of unknown type assert in debug builds and are ignored in product builds.

Reviewed-by: never, xlu, mchung, dcubed
2009-11-04 16:49:23 -05:00
Kelly O'Hair
b14f8dc3eb Merge 2009-11-04 11:19:42 -08:00
Kelly O'Hair
d90f68559f Merge 2009-11-04 11:19:05 -08:00
Kelly O'Hair
1715888f15 Merge 2009-11-04 11:19:04 -08:00
Abhijit Saha
802294f139 Merge 2009-11-04 10:13:52 -08:00
Y. Srinivas Ramakrishna
a3e539d0da 6801625: CDS: HeapDump tests crash with internal error in compactingPermGenGen.cpp
Allow iteration over the shared spaces when using CDS, repealing previous proscription. Deferred further required CDS-related cleanups of perm gen to CR 6897789.

Reviewed-by: phh, jmasa
2009-11-03 16:43:16 -08:00
Andrew John Hughes
d45297718d 6897844: Fix broken build on newer versions of X11 (libXext >= 1.1.0)
Recent changes to X11's header structure break the build

Reviewed-by: prr, flar
2009-11-03 23:23:15 +00:00
Joe Darcy
3e515ef90f 6897550: BigInteger constructor should use local cached String length
Reviewed-by: andrew, chegar
2009-11-03 15:01:50 -08:00
Tim Bell
b20e230f81 Merge 2009-11-02 22:23:50 -08:00
Joe Darcy
54d7808702 6827009: Project Coin: Strings in Switch
Reviewed-by: jjg, mcimadamore
2009-11-02 21:36:59 -08:00
Doug Lea
ef2dd097cc 6865582: jsr166y - jsr166 maintenance update
6865571: Add a lightweight task framework known as ForkJoin
6445158: Phaser - an improved CyclicBarrier
6865579: Add TransferQueue/LinkedTransferQueue

Reviewed-by: martin, chegar, dice
2009-11-02 17:25:38 -08:00
Abhijit Saha
91ce5d885d Merge 2009-11-02 13:59:37 -08:00
Roland Westrelin
7eea7dcfe4 6769124: various 64-bit fixes for c1
Reviewed-by: never
2009-11-02 11:17:55 +01:00
Tim Bell
3460e113e0 Merge 2009-11-02 00:06:21 -08:00
Tim Bell
22682702f6 Merge 2009-11-02 00:05:05 -08:00
Tim Bell
4094166f62 Merge 2009-11-02 00:03:32 -08:00
Xiaobin Lu
f5e722511a Merge 2009-10-30 17:24:14 -07:00
John R Rose
903247cf85 6858164: invokedynamic code needs some cleanup (post-6655638)
Fix several crashers, remove needless paths for boxed-style bootstrap method call, refactor & simplify APIs for rewriter constantPoolOop, remove sun.dyn.CallSiteImpl

Reviewed-by: kvn
2009-10-30 16:22:59 -07:00
Alan Bateman
d9568c4ee6 6896829: test/sun/util/logging/PlatformLoggerTest.java needs @compile tag to be compiled by jtreg
Reviewed-by: mchung, tbell
2009-10-30 21:31:02 +00:00
Tim Bell
74f5893951 Merge 2009-10-30 13:12:24 -07:00
Xueming Shen
d9eeb64ea6 6894950: test/java/util/zip/Bounds.java fails with OoutOfMemoryError
Fixed the boundary check in Deflater.java

Reviewed-by: alanb
2009-10-30 13:01:16 -07:00
Mario Torre
041e6cb967 6896068: SunGraphics2D exposes a reference to itself while non fully initialised
Introduce a new Interface to mark the Loops based pipes and initialise the loops accordingly.

Reviewed-by: flar, rkennke
2009-10-30 19:19:35 +01:00
Michael Wilkerson
b967181a3f Added tag jdk7-b75 for changeset 0096541a388e 2009-10-30 10:55:00 -07:00
Michael Wilkerson
672e476db1 Added tag jdk7-b75 for changeset 203caeb1e9a8 2009-10-30 10:54:50 -07:00
Michael Wilkerson
9f13fdfb9a Added tag jdk7-b75 for changeset 1b2a2be70c6e 2009-10-30 10:54:45 -07:00
Michael Wilkerson
1929d58f7b Added tag jdk7-b75 for changeset 48c7cd650a5e 2009-10-30 10:54:43 -07:00
Michael Wilkerson
5873c77d42 Added tag jdk7-b75 for changeset ac997bc87110 2009-10-30 10:54:34 -07:00
Michael Wilkerson
3a96d065a0 Added tag jdk7-b75 for changeset 82850953ef29 2009-10-30 10:54:27 -07:00
Michael Wilkerson
1885800cdb Added tag jdk7-b75 for changeset 18a82a5ac45b 2009-10-30 10:54:25 -07:00
Antonios Printezis
56b1d0c435 Merge 2009-10-30 13:31:11 -04:00
Changpeng Fang
e3b5580ecc 6852078: HSX 14/16 in jdk 5.0: api/javax_management api/org_omg jck tests crashes or make tnameserv crash
Disable SuperWord optimization for unsafe read/write

Reviewed-by: kvn, phh
2009-10-30 10:12:52 -07:00
Tim Bell
57b638db88 Merge 2009-10-30 09:06:38 -07:00
Vladimir Yaroslavskiy
b36e33e9e0 6896573: Arrays.sort(long[]) fails with StackOverflowError
Reviewed-by: jjb
2009-10-30 15:06:24 +00:00
Abhijit Saha
0456a42631 Merge 2009-10-30 07:58:03 -07:00
Pavel Porvatov
fcfa835d86 6891412: The sun.awt.shell.ShellFolder#getInvoker method should be synchronized
Reviewed-by: peterz
2009-10-30 14:18:23 +03:00
Pavel Porvatov
ce0d94ffec 6894504: javax/swing/JFileChooser/6741890/bug6741890.java fails w/ RuntimeException
Reviewed-by: malenkov
2009-10-30 14:05:48 +03:00
Weijun Wang
7f63f4fe02 6894534: SeedGenerator shouldn't require java.nio.file to be present
Reviewed-by: alanb
2009-10-30 11:28:42 +08:00
Mandy Chung
27be2592c2 Merge 2009-10-29 19:55:52 -07:00
Vladimir Kozlov
bdd0f44def 6896084: VM does not reserve protected page below heap for compressed oops implicit null checks
Set narrow_oop_base and narrow_oop_use_implicit_null_checks in Universe::preferred_heap_base().

Reviewed-by: twisti, jcoomes
2009-10-29 16:57:55 -07:00
Kelly O'Hair
294edcdf2d 6896472: Missing libjsig.so causes jdk build failure
Reviewed-by: tbell, kvn, phh
2009-10-29 11:17:02 -07:00
John Cuthbertson
bf0f699b33 6889740: G1: OpenDS fails with "unhandled exception in compiled code"
Incorrect code was being generated for the store operation in the null case of the aastore bytecode template. The bad code was generated by the store_heap_oop routine which takes a Register as its second argument. Passing NULL_WORD (0) as the second argument causes the value to be converted to Register(0), which is rax. Thus the generated store was "mov (dst), $rax" instead of "mov (dst), $0x0". Changed calls to store_heap_oop that pass NULL_WORD as the second argument to a new routine store_heap_oop_null.

Reviewed-by: kvn, twisti
2009-10-29 09:42:26 -07:00
Mandy Chung
37ce341049 6896422: Add @ignore to test/java/util/zip/Bounds.java
Ignore test/java/util/zip/Bounds.java until 6896424 is resolved

Reviewed-by: sherman
2009-10-29 09:22:00 -07:00
Abhijit Saha
45e7e91e92 Merge 2009-10-29 09:06:06 -07:00
Changpeng Fang
c1eacdef5a Merge 2009-10-29 08:49:31 -07:00
Vladimir Yaroslavskiy
43f93f6ba6 6880672: Replace quicksort in java.util.Arrays with dual-pivot implementation
Co-authored-by: Joshua Bloch <joshua.bloch@google.com>
Co-authored-by: Jon Bentley <jbentley@avaya.com>
Reviewed-by: jjb
2009-10-29 11:18:37 +00:00
Kelly O'Hair
b389d6968a Merge 2009-10-28 16:54:50 -07:00
Kelly O'Hair
27e58d6259 Merge 2009-10-28 16:26:52 -07:00
Abhijit Saha
84e0ce5651 Merge 2009-10-28 15:47:55 -07:00
Kelly O'Hair
4eb5fcbd73 6865492: /java/devtools/win32/bin/gnumake.exe doesn't work with cygwin
Reviewed-by: robilad
2009-10-28 13:44:30 -07:00
Paul Hohensee
2f7d60fa36 6887571: Increase default heap config sizes
Apply modification of existing server heap size ergo to all collectors except CMS.

Reviewed-by: jmasa, ysr, xlu
2009-10-28 16:25:51 -04:00
Kelly O'Hair
140e4862f1 6888709: Change use of -DX=\""Y\"" to -DX='"Y"', consistently for all platforms
Reviewed-by: jjg, tbell
2009-10-28 13:00:33 -07:00
Kelly O'Hair
4f260ef889 6888701: Change all template java source files to a .java-template file suffix
Reviewed-by: jjg, alanb, mr
2009-10-28 12:54:37 -07:00
Mandy Chung
48b475ef76 6895875: Missing serialVersionUID in sun.management classes
Added serialVersionUID to fix warning errors

Reviewed-by: alanb
2009-10-28 11:18:01 -07:00
Y. Srinivas Ramakrishna
cd43e74d4e 6818264: Heap dumper unexpectedly adds .hprof suffix
Restore old behaviour wrt HeapDumpPath; first dump goes to <file>, <n>th dump goes to <file>.<n-1>, with default value of <file> the same as before.

Reviewed-by: alanb, jcoomes, tonyp
2009-10-28 11:16:42 -07:00
Xiaobin Lu
5e86d923f2 Merge 2009-10-28 10:37:17 -07:00
Weijun Wang
692684aa31 6890872: keytool -printcert to recognize signed jar files
Reviewed-by: mullan
2009-10-28 15:32:49 +08:00
Weijun Wang
9b3b87dab8 6893158: AP_REQ check should use key version number
Reviewed-by: valeriep, xuelei
2009-10-28 15:32:30 +08:00
Mandy Chung
f66cba870b 6876135: Add PlatformLoggingMXBean to eliminate the dependency on JMX from logging
Added a new PlatformLoggingMXBean interface to extend PlatformManagedObject instead of LoggingMXBean

Reviewed-by: alanb
2009-10-27 16:32:23 -07:00
Mandy Chung
1f214f0d12 6895456: Eliminate dependency on java.io.ObjectStreamClass during boot
Duplicate ObjectStreamClass.getClassSignature method in ObjectStreamField class

Reviewed-by: alanb
2009-10-27 16:31:01 -07:00
Abhijit Saha
5b3e71f3bd Merge 2009-10-27 12:33:34 -07:00
Christian Thalinger
ad6d07e80b 6893554: SPECjvm2008 mpegaudio fails with SecurityException
The problem occurs with negative numbers, as the 32-bit input values are sign extended into the 64-bit registers.

Reviewed-by: kvn
2009-10-27 03:00:27 -07:00
Andrey Petrusenko
79580cb425 6870843: G1: G1 GC memory leak
The fix addresses two memory leaks in G1 code: (1) _evac_failure_scan_stack - a resource object allocated on the C heap was not freed; (2) RSHashTable were linked into deleted list which was only cleared at full GC.

Reviewed-by: tonyp, iveresov
2009-10-27 02:42:24 -07:00
Alan Bateman
b8832a673c 6888179: Separate out dependency on CORBA
Reviewed-by: dfuchs
2009-10-27 08:55:35 +00:00
Andrew John Hughes
1a55042376 6895287: disable building fontchecker
Changes to FontManager break bootstrap due to the fontchecker tool

Reviewed-by: prr
2009-10-26 21:42:20 +00:00
Abhijit Saha
b1d56df134 Merge 2009-10-26 10:06:53 -07:00
Alan Bateman
2c66181252 6894633: NetHooks should not require provider to be present (sol)
Reviewed-by: chegar, jccollet
2009-10-24 20:36:01 +01:00
Xiaobin Lu
bfa076da18 Merge 2009-10-23 18:44:33 -07:00
Erik Trimble
dce55d0f18 Merge 2009-10-23 14:28:47 -07:00
Erik Trimble
c85f6acf41 6894844: Bump the HS17 build number to 04
Update the HS17 build number to 04

Reviewed-by: jcoomes
2009-10-23 14:27:16 -07:00
Kelly O'Hair
d15712270d 6894833: Upgrade jaxp drop source bundle
Reviewed-by: tbell
2009-10-23 13:35:33 -07:00
Abhijit Saha
dcb2c18a2b Merge 2009-10-23 12:58:10 -07:00
Joe Darcy
0452077b9a 6891113: More methods for java.util.Objects: deepEquals, hash, toString with default
Reviewed-by: alanb, gafter
2009-10-23 11:18:17 -07:00
Kelly O'Hair
2aa71b1071 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
Reviewed-by: andrew
2009-10-23 11:06:56 -07:00
Kelly O'Hair
855418d191 6894441: Add checksum checks, remove use of original sources in jax repositories, fix bundle logic
Reviewed-by: andrew
2009-10-23 11:05:51 -07:00
Andrew Brygin
32f47acd27 6888167: memory leaks in the medialib glue code
Reviewed-by: igor, prr
2009-10-23 16:21:50 +04:00
Andrew Brygin
f9f22a5e0b 6888215: memory leak in jpeg plugin
Reviewed-by: igor, prr
2009-10-23 15:59:51 +04:00
Anthony Petrov
85e10718ce 6887249: Get rid of double-check for isValid() idiom in validate() methods
Reviewed-by: art, dcherepanov
2009-10-23 14:52:55 +04:00
Abhijit Saha
8de5fe44f3 Merge 2009-10-22 16:28:01 -07:00
Chris Hegarty
5e235aa57e 6894169: Move HttpLogFormatter into a separate package
Reviewed-by: alanb
2009-10-22 15:44:42 +01:00
Andrey Petrusenko
da1b89b746 6858886: G1: guarantee(_next_marked_bytes <= used(),"invariant") at heapRegion.hpp:359
Reviewed-by: tonyp, ysr
2009-10-22 07:43:49 -07:00
Alexander Potochkin
5b04b875ea 6795356: Leak caused by javax.swing.UIDefaults.ProxyLazyValue.acc
Reviewed-by: hawtin
2009-10-22 18:42:18 +04:00
Pavel Porvatov
e7de83e1e2 6550546: Win LAF: JFileChooser -> Look in Drop down should not display any shortcuts created on desktop
Reviewed-by: peterz
2009-10-22 16:39:29 +04:00
Peter Zhelezniakov
ec86441a47 6893704: Potential memory leak in gtk2_interface.c
Reviewed-by: stayer
2009-10-22 15:43:25 +04:00
Dmitry Cherepanov
4b2a80c711 6707273: TrayIcon does not support 8-bit alpha channel in Windows XP
Reviewed-by: uta, ant
2009-10-22 13:27:28 +04:00
John R Rose
c4f814598e 6891770: JSR 292 API needs initial unit tests
Backport working mlvm regression test to M3 implementation of JSR 292; requires jtreg 4.1

Reviewed-by: twisti
2009-10-21 23:19:48 -07:00
Xueming Shen
99bec3696c Merge 2009-10-21 11:52:04 -07:00
Xueming Shen
30e3c9dc22 4206909: want java.util.zip to work for interactive use (Z_SYNC_FLUSH)
Add sync_flush option into Deflater/DefalterOutputStream

Reviewed-by: martin, alanb
2009-10-21 11:50:25 -07:00
Xueming Shen
e5745ffc8c 6878475: Better syntax for the named capture group in regex
Updated the syntax of the newly added named capture group

Reviewed-by: martin, alanb
2009-10-21 11:40:40 -07:00
Abhijit Saha
fcbc383092 Merge 2009-10-21 11:34:19 -07:00
Abhijit Saha
cf5d27bd7c Merge 2009-10-21 11:28:46 -07:00
Joe Darcy
8c93a06ddd 6560935: BigInteger.modPow() throws ArithmeticException for negative exponent
Reviewed-by: alanb
2009-10-21 09:53:23 -07:00
Vladimir Kozlov
022d690049 6892186: SA does not dump debug info for scalar replaced objects
Implement scalar replaced objects debug info dump in SA.

Reviewed-by: twisti
2009-10-21 09:15:33 -07:00
Chris Hegarty
c3d3d4780a Merge 2009-10-21 16:50:44 +01:00
Eamonn McManus
bfedf39895 6851617: Remove JSR 255 (JMX API 2.0) from JDK 7
See http://weblogs.java.net/blog/2009/06/16/jsr-255-jmx-api-20-postponed

Reviewed-by: dfuchs
2009-10-21 17:33:18 +02:00
Chris Hegarty
ee00e01c67 Merge 2009-10-21 15:47:09 +01:00
Chris Hegarty
6a460a3b96 6893238: Move NTLM and SPNEGO implementations into separate packages
Reviewed-by: michaelm, alanb
2009-10-21 15:41:42 +01:00
Jean-Christophe Collet
196a0c5cf8 6893702: Overhaul of Ftp Client internal code
Major reorg of internal FTP client code

Reviewed-by: chegar
2009-10-21 16:28:57 +02:00
Anthony Petrov
b50342c24e 6852592: invalidate() must be smarter
Introduce validate roots in AWT

Reviewed-by: alexp, art, dcherepanov
2009-10-21 17:06:41 +04:00
Jean-Christophe Collet
48792ee40c 6873543: CookieManager doesn't enforce httpOnly
Adds check for httpOnly tag and clarifies javadoc

Reviewed-by: chegar
2009-10-21 13:42:39 +02:00
Pavel Porvatov
c1bf8506f1 6892340: Part of the CR 6741890 should be forwardported
Reviewed-by: malenkov
2009-10-21 14:25:25 +04:00
Tim Bell
820bae5fe3 6893426: ShellScaffold.sh fails on Solaris 10 update releases: /usr/bin/id: illegal option -- u
Reviewed-by: ohair, dcubed
2009-10-21 00:12:59 -07:00
Weijun Wang
5e986ae424 6870812: enhance security tools to use ECC algorithms
Reviewed-by: vinnie, mullan
2009-10-21 08:17:35 +08:00
Kelly O'Hair
6c3cb0bd1c Merge 2009-10-20 16:15:20 -07:00
Kelly O'Hair
306ea15f84 Merge 2009-10-20 16:14:47 -07:00
Kelly O'Hair
b603064881 Merge 2009-10-20 16:14:26 -07:00
Keith McGuigan
6dfb497d00 6893483: DTrace probe return values for a couple JNI methods are wrong
Fix the shadowing and incorrect macro usages

Reviewed-by: coleenp
2009-10-20 16:34:08 -04:00
Antonios Printezis
e57cedc5ed Merge 2009-10-20 11:28:25 -07:00
Jonathan Gibbons
65e203be59 6893062: remove support for obsolete attributes
Reviewed-by: ksrini
2009-10-20 10:59:13 -07:00
Joe Darcy
589f5d20cb 6371401: java.math.BigInteger.shift(Integer.MIN_VALUE) throws StackOverflowError
Reviewed-by: alanb
2009-10-20 09:51:28 -07:00
Michael McMahon
562fb9a67f 6890349: Fix #6870935 in jdk7/pit/b74 caused HttpClinet's check for "proxy capture" attack by-passed
Pass exception up stack

Reviewed-by: chegar
2009-10-20 15:35:55 +01:00
Y. Srinivas Ramakrishna
0bb99b44ef 6892749: assert(UseParNewGC || UseSerialGC || UseConcMarkSweepGC, "...") fails
Removed the assert: UseSerialGC is not necessarily always set when serial gc is being used.

Reviewed-by: jcoomes, jmasa, tonyp
2009-10-20 00:00:23 -07:00
Joshua Bloch
c225292004 6889858: Add nonNull methods to java.util.Objects
Reviewed-by: darcy
2009-10-19 16:31:48 -07:00
Antonios Printezis
9f337f438a Merge 2009-10-19 17:02:19 -04:00
Jonathan Gibbons
302bb54494 6889255: javac MethodSymbol throws NPE if ClassReader does not read parameter names correctly
Reviewed-by: darcy
2009-10-19 13:43:25 -07:00
Jonathan Gibbons
613eae59d0 6889255: javac MethodSymbol throws NPE if ClassReader does not read parameter names correctly
Reviewed-by: darcy
2009-10-19 13:38:09 -07:00
Alan Bateman
355021b7b0 6884480: (file) Path.relativize has typo in parameter description
Reviewed-by: chegar
2009-10-19 20:02:45 +01:00
Alan Bateman
b712d23c2f 6879463: (file) DirectoryStream#iterator's remove method throws wrong exception when stream is closed
Reviewed-by: sherman
2009-10-19 20:01:45 +01:00
Alan Bateman
1ff76e3938 6892711: (file) test/java/nio/file/Path/CopyAndMove.java fails on Windows 2000
Reviewed-by: ohair
2009-10-19 19:59:22 +01:00
Alan Bateman
6e476efa4a 6892710: (file) test/java/nio/file/Path/CheckPermissions.java fails in samevm mode
Reviewed-by: ohair
2009-10-19 19:58:38 +01:00
Anthony Petrov
a77b6a72e0 6891483: XToolkit.getEnv() checks for NULL on a wrong symbol
Reviewed-by: dcherepanov
2009-10-19 16:06:41 +04:00
John R Rose
2134a92922 6815692: method handle code needs some cleanup (post-6655638)
Correctly raise exceptions, support safe bitwise "raw" conversions, fix bugs revealed by VerifyMethodHandles, remove dead code, improve debugging support

Reviewed-by: never, twisti
2009-10-17 19:51:05 -07:00
Lana Steuck
40cd71a7b7 Merge 2009-10-16 18:02:31 -07:00
Changpeng Fang
9c6f603b85 Merge 2009-10-16 16:14:12 -07:00
Changpeng Fang
35ca20c546 Merge 2009-10-16 14:08:44 -07:00
Jonathan Gibbons
e634c0ee8e 6888367: classfile library parses signature attributes incorrectly
Reviewed-by: ksrini
2009-10-16 12:56:50 -07:00
Abhijit Saha
7f00e1bf5e Merge 2009-10-16 11:20:38 -07:00
Jennifer Godinez
ac9bcbd819 6680634: Printing: "Collate" is ignored under Windows Vista x64
Reviewed-by: campbell, prr
2009-10-16 09:32:29 -07:00
Y. Srinivas Ramakrishna
928ac69fcd 6888898: CMS: ReduceInitialCardMarks unsafe in the presence of cms precleaning
6889757: G1: enable card mark elision for initializing writes from compiled code (ReduceInitialCardMarks)

Defer the (compiler-elided) card-mark upon a slow-path allocation until after the store  and before the next subsequent safepoint; G1 now answers yes to can_elide_tlab_write_barriers().

Reviewed-by: jcoomes, kvn, never
2009-10-16 02:05:46 -07:00
Tim Bell
32b3e2c86a Merge 2009-10-15 22:48:34 -07:00
Tim Bell
c71af49e2b Merge 2009-10-15 22:47:56 -07:00
Mandy Chung
b7f907a0a4 Merge 2009-10-15 20:18:30 -07:00
Andrew Haley
793ab85271 4428022: System.out.println(0.001) outputs 0.0010
Reviewed-by: darcy
2009-10-15 18:27:39 -07:00
Mandy Chung
9c1ea09b07 6891707: Eliminate the java.io.FilePermission dependency on PolicyFile
Replace call to PolicyFile.canonPath with its own implementation

Reviewed-by: alanb, mullan
2009-10-15 17:36:53 -07:00
Xiomara Jayasena
d6388ffec9 Added tag jdk7-b74 for changeset 17d415c7180f 2009-10-15 16:40:44 -07:00
Xiomara Jayasena
66b96c7d3f Added tag jdk7-b74 for changeset 6bab93485a15 2009-10-15 16:40:33 -07:00
Xiomara Jayasena
bf385caedb Added tag jdk7-b74 for changeset 4fb4f2670583 2009-10-15 16:40:27 -07:00
Xiomara Jayasena
ebfdb19605 Added tag jdk7-b74 for changeset 73df4e30ad5a 2009-10-15 16:40:25 -07:00
Xiomara Jayasena
89510f5c0b Added tag jdk7-b74 for changeset b95ea007fe67 2009-10-15 16:40:19 -07:00
Xiomara Jayasena
7917e7916c Added tag jdk7-b74 for changeset 2a58cc6c4797 2009-10-15 16:40:16 -07:00
Xiomara Jayasena
cd806fb89c Added tag jdk7-b74 for changeset e8f92456bc49 2009-10-15 16:40:15 -07:00
Lana Steuck
720170db8b Merge 2009-10-15 16:37:55 -07:00
Abhijit Saha
a4074cd2c5 Merge 2009-10-15 14:41:51 -07:00
Tom Rodriguez
8eace255e1 6891750: deopt blob kills values in O5
Reviewed-by: kvn, twisti
2009-10-15 11:47:13 -07:00
Alan Bateman
1d9e85adb5 Merge 2009-10-15 14:02:34 +01:00
Gary Benson
c45a788c5c 6891677: java/build integrate zero assembler JDK changes
Build changes for the Zero assembler port

Reviewed-by: ohair, tbell
2009-10-15 13:28:26 +01:00
Gary Benson
c83af33205 6891677: java/build integrate zero assembler JDK changes
Build changes for the Zero assembler port

Reviewed-by: ohair, tbell
2009-10-15 13:27:59 +01:00
Gary Benson
e30aafe421 6891677: java/build integrate zero assembler JDK changes
Build changes for the Zero assembler port

Reviewed-by: ohair, tbell
2009-10-15 13:26:17 +01:00
Michael McMahon
a632ce2c94 Merge 2009-10-15 12:05:05 +01:00
Michael McMahon
31f813d99e 6886436: Lightwight HTTP Container (com.sun.* package) is unstable
Reviewed-by: chegar
2009-10-15 12:03:31 +01:00
Alan Bateman
d7441d8772 6891404: (fs) ACL tests fail with "Invalid argument" on ZFS (sol)
Reviewed-by: sherman
2009-10-15 11:55:19 +01:00
Alan Bateman
347f6581ea 6883983: JarVerifier dependency on sun.security.pkcs should be removed
Reviewed-by: sherman, wetmore
2009-10-15 11:54:04 +01:00
Mandy Chung
6f42b7b834 6891701: test/java/lang/management/RuntimeMXBean/GetSystemProperties should restore the system property
Restore the system properties when the test finishes

Reviewed-by: jjg
2009-10-14 20:16:02 -07:00
Joe Darcy
bb0ea6325c 6558804: Specification for Elements.getDocComment(Element e) should be clarified
Reviewed-by: jjg
2009-10-14 18:56:37 -07:00
Jonathan Gibbons
44767bbfbe 6838467: JSR199 FileObjects don't obey general contract of equals
Reviewed-by: darcy
2009-10-14 15:41:28 -07:00
Vinnie Ryan
1455f5ef1a 6891632: Remove duplicate ECC source files
Reviewed-by: wetmore
2009-10-14 23:41:11 +01:00
Vladimir Kozlov
34324e30c0 6890984: Comparison of 2 arrays could cause VM crash
Restore original null checks.

Reviewed-by: never, cfang
2009-10-14 15:03:32 -07:00
Abhijit Saha
02d2cc35f6 Merge 2009-10-14 14:21:25 -07:00
Xiaobin Lu
88d2bc6d8d Merge 2009-10-14 12:40:20 -07:00
Vladimir Kozlov
3d9a536c1a 6722084: JPRT make file doesn't create required symbolic link to libjvm.so
Use -y zip option to preserve symbolic links.

Reviewed-by: never, jcoomes, kamg
2009-10-14 11:42:59 -07:00
Jennifer Godinez
6b576be53c 6890945: Typo in sentence about thread safety
Reviewed-by: prr
2009-10-14 10:44:32 -07:00
Tom Rodriguez
6af1a61656 6889869: assert(!Interpreter::bytecode_should_reexecute(code),"should not reexecute")
Reviewed-by: jrose, kvn, cfang, twisti
2009-10-14 10:36:57 -07:00
Anthony Petrov
e507e02d67 6884960: java/awt/Window/TranslucentJAppletTest/TranslucentJAppletTest.java fails
Support painting heavyweight components in transparent windows.

Reviewed-by: art, alexp
2009-10-14 19:23:15 +04:00
Sean Mullan
f375cbb0e4 Merge 2009-10-14 09:47:22 -04:00
Sean Mullan
581d01d8c4 6885667: CertPath/CertPathValidatorTest/bugs/bug6383078 fails on jdk6u18/b02, jdk7/pit/b73 and passes on b72
Wrap all OCSP exceptions in CertPathValidatorException so that we can fallback to CRLs, if enabled.

Reviewed-by: dgu, xuelei
2009-10-14 09:36:31 -04:00
Anthony Petrov
b32d27a253 6885735: closed/java/awt/Component/DisablingLWDisabledHW/DisablingLWDisabledHW.html fails
Use isRecursivelyVisibleUpToHeavyweightContainer() instead of isRecursivelyVisible() to determine if the peer needs to be hidden.

Reviewed-by: art, dcherepanov
2009-10-14 16:32:38 +04:00
Anthony Petrov
370b3a923b 6711717: PIT: Security Icon is hidden for FullScreen apps, WinXP
Force hiding the security warning in FS exclusive mode.

Reviewed-by: art, tdv
2009-10-14 16:19:46 +04:00
Anthony Petrov
99d8a50297 6684916: jframe.setMaximizedBounds() has no effect in linux
Specification should indicate that the feature may be unsupported on some platforms.

Reviewed-by: art, dcherepanov
2009-10-14 15:46:13 +04:00
Vladimir Kozlov
998bcbaf4b 6889300: assert(i != k || is_new || i->outcnt() > 0, "don't return dead nodes")
PhiNode::Ideal() should return TOP for Phi node with no users.

Reviewed-by: never, jrose
2009-10-13 22:32:31 -07:00
Vladimir Kozlov
9a22acef05 6889656: assert(lo_lrg->lo_degree() || !lo_no_simplify,"Live range was lo-degree before coalesce
Restore the original code: uint i = _hi_degree.

Reviewed-by: never, jrose
2009-10-13 20:54:13 -07:00
Joe Darcy
f276d82e07 6349921: (enum) Include links from java.lang.Enum to EnumSet and EnumMap
Reviewed-by: martin
2009-10-13 17:34:48 -07:00
Tom Rodriguez
9ecd8e48ca 6889302: TraceExceptions output should include detail message
Reviewed-by: twisti, jrose, kvn
2009-10-13 16:29:31 -07:00
Jonathan Gibbons
51a7e38600 6891079: Compiler allows invalid binary literals 0b and oBL
Reviewed-by: darcy
2009-10-13 15:26:30 -07:00
Lana Steuck
5b812467bf Merge 2009-10-13 15:25:58 -07:00
Joe Darcy
8b993775d5 6648344: (reflect spec) State default of isAccessible for reflective objects
Reviewed-by: alanb
2009-10-13 14:08:57 -07:00
Jonathan Gibbons
837c2b0a07 6887895: CONSTANT_Class_info getBaseName does not handle arrays of primitives correctly
Reviewed-by: ksrini
2009-10-13 14:02:53 -07:00
Gary Benson
5473f394c6 6890308: integrate zero assembler hotspot changes
Reviewed-by: never
2009-10-13 12:04:21 -07:00
Dmitry Cherepanov
7628a59414 6796915: Deadlock in XAWT when switching virtual desktops
Reviewed-by: art, anthony
2009-10-12 19:07:43 +04:00
Alan Bateman
fb306e5742 Merge 2009-10-10 10:14:51 +01:00
Joe Darcy
eca779ecad 6797535: Add shared two argument static equals method to the platform
Reviewed-by: sherman
2009-10-09 16:11:11 -07:00
Erik Trimble
19fcbc7c3e 6890293: Bump the HS17 build number to 03
Update the HS17 build number to 03

Reviewed-by: jcoomes
2009-10-09 15:21:07 -07:00
Erik Trimble
8cea3ed3b4 Merge 2009-10-09 15:18:52 -07:00
Alan Bateman
c44758929f 6888552: Allow JNDI to be used when java.applet is not present
Reviewed-by: vinnie
2009-10-09 10:06:58 +01:00
Alan Bateman
e31cb36301 6889552: Sun provider should not require LDAP CertStore to be present
Reviewed-by: vinnie, mullan
2009-10-09 09:59:54 +01:00
Antonios Printezis
a67426faf8 6866190: Remove SIMPLE_STACK code from TaskQueue
What the title says. We don't use SIMPLE_STACK any more.

Reviewed-by: ysr
2009-10-07 19:01:55 -04:00
Tom Rodriguez
9b306d03ee 6885584: A particular class structure causes large allocation spike for jit
Reviewed-by: kvn
2009-10-07 15:38:37 -07:00
Tim Bell
022d2f3730 Merge 2009-10-07 14:15:01 -07:00
Tim Bell
c824fc2f7a Merge 2009-10-07 14:14:45 -07:00
Joe Darcy
debdf79d18 6480728: Byte.valueOf(byte) returns a cached value but Byte.valueOf(String)
6655735: Integer.toString() and String.valueOf(int) contain slow delegations

Reviewed-by: lancea
2009-10-07 14:04:20 -07:00
Tim Bell
1c6255de3e 6888888: new javah throws NullPointerException when building in jdk/make/java/nio
Use the bootstrap javah during the build until bug-ID 6889255 is fixed

Reviewed-by: jjg
2009-10-07 13:53:11 -07:00
Vladimir Kozlov
ba951dbf36 6875959: CTW fails hotspot/src/share/vm/opto/reg_split.cpp:1087
To break spill ties choose bound live range over unbound to free register or one with smaller cost to spill.

Reviewed-by: never, jrose
2009-10-07 12:43:50 -07:00
Chris Hegarty
67bff2db55 6887364: SetOutgoingIf.java fails if run on multihomed machine without PIv6 on all interfaces
Reviewed-by: alanb
2009-10-07 17:23:02 +01:00
Abhijit Saha
3a47c83db7 Merge 2009-10-07 08:38:43 -07:00
Bob Vandette
9681f68f38 6888847: TaskQueue needs release_store() for correctness on RMO machines
See title.

Reviewed-by: jmasa, ysr, jcoomes, iveresov, tonyp
2009-10-07 09:48:42 -04:00
Antonios Printezis
9288a18639 6888619: G1: too many guarantees in concurrent marking
Change more guarantees in concurrent marking into asserts.

Reviewed-by: apetrusenko, iveresov
2009-10-07 10:09:57 -04:00
Antonios Printezis
0835f0c4df 6888316: G1: has_aborted() || _cm->region_stack_empty() fails
Remove incorrect guarantee.

Reviewed-by: apetrusenko, iveresov
2009-10-07 09:42:18 -04:00
Yuri Nesterenko
682543d219 Merge 2009-10-06 23:44:44 -07:00
Yuri Nesterenko
b5bdd219cd Merge 2009-10-06 23:40:27 -07:00
Abhijit Saha
c6c70af568 Merge 2009-10-06 21:40:55 -07:00
Keith McGuigan
9c32dec0bf 6885916: Memory leak in inferencing verifier (libverify.so)
Use the memory management already present to track allocated memory

Reviewed-by: coleenp, acorn
2009-10-06 22:01:18 -04:00
Mandy Chung
07871a4920 6888802: sun.misc.BootClassLoaderHook.getBootstrapPaths stack overflow
Fixed sun.misc.BootClassLoaderHook.getBootstrapPaths calls hook.getAdditionalBootstrapPaths

Reviewed-by: alanb, tbell
2009-10-06 15:14:59 -07:00
Joe Darcy
bd9e7da356 5062288: (reflect) Core reflection uses raw types when it could be using wildcards
Reviewed-by: alanb
2009-10-06 13:31:41 -07:00
Volker Simonis
930f3d4570 6880034: SIGBUS during deoptimisation at a safepoint on 64bit-SPARC
Fix problem with the double register encodings in sparc.ad

Reviewed-by: never, jrose
2009-10-06 10:15:38 -07:00
Pavel Porvatov
65e5c75b0b 6489130: FileChooserDemo hung by keeping pressing Enter key
Reviewed-by: alexp
2009-10-06 17:01:52 +04:00
Christian Thalinger
e4541dcd08 6879902: CTW failure jdk6_18/hotspot/src/cpu/sparc/vm/assembler_sparc.hpp:845
For signatures with a large number of arguments the offset for the float store becomes too big and does not fit in 13-bit.

Reviewed-by: kvn, never
2009-10-06 02:11:49 -07:00
Jennifer Godinez
e544e85ebd Merge 2009-10-05 18:22:00 -07:00
Mandy Chung
9f6fbc5544 6612680: Remove classloader dependency on jkernel
Add a new sun.misc.BootClassLoaderHook that DownloadManager will implement

Reviewed-by: alanb, forax, igor
2009-10-05 18:15:32 -07:00
Vinnie Ryan
04890be7bb 6885204: JSSE should not require Kerberos to be present
Reviewed-by: wetmore, alanb
2009-10-05 23:42:48 +01:00
Roman Kennke
a64ba16c4f 6887494: NPE in pisces Renderer
Only recreate crossings array, if there actually exists one before.

Reviewed-by: flar, tdv
2009-10-05 23:12:22 +02:00
Antonios Printezis
31de6adee9 6847956: G1: crash in oopDesc*G1ParCopyHelper::copy_to_survivor_space(oopDesc*)
When we copy objects to survivors during marking, we incorrectly set NTAMS to bottom, which causes marking to miss visiting some of those objects.

Reviewed-by: apetrusenko, iveresov
2009-10-05 12:05:48 -04:00
Alan Bateman
2170e604da 6854954: Eliminate static dependency on java.awt.AWTPermission
Reviewed-by: mullan, mchung, anthony
2009-10-05 16:45:55 +01:00
Alan Bateman
936d0362c2 6884800: (file) Path.newInputStream does not usefully implement available()
Reviewed-by: martin, chegar
2009-10-04 15:42:00 +01:00
Antonios Printezis
0c790abc79 Merge 2009-10-03 10:53:08 -04:00
Antonios Printezis
2684c3a431 6882730: G1: parallel heap verification messes up region dump
It tidies up the G1 heap verification a bit. In particular, when the verification is done in parallel and there is a failure, this is propagated to the top level and the heap is dumped at the end, not by every thread that encounters a failure.

Reviewed-by: johnc, jmasa
2009-10-02 16:20:42 -04:00
Antonios Printezis
99a529bb86 6885041: G1: inconsistent thread dump
When G1 is enabled, thread dumps are inconsistent as the info for some of the G1 threads is not formatted properly.

Reviewed-by: ysr, johnc
2009-10-02 16:12:07 -04:00
John Coomes
e379759e1b 6887948: test/gc/6845368/bigobj.java fails due to timeout
Reviewed-by: iveresov
2009-10-05 05:51:22 -07:00
Xiomara Jayasena
c0a2b68ef8 Added tag jdk7-b73 for changeset 6a163854aee4 2009-10-02 11:26:53 -07:00
Xiomara Jayasena
e9d2bf2283 Added tag jdk7-b73 for changeset d02ee9795d57 2009-10-02 11:26:42 -07:00
Xiomara Jayasena
716cb7404a Added tag jdk7-b73 for changeset 2d600411d2b7 2009-10-02 11:26:36 -07:00
Xiomara Jayasena
fa60fa0a5d Added tag jdk7-b73 for changeset 35b6f37d3023 2009-10-02 11:26:35 -07:00
Xiomara Jayasena
f174a87b09 Added tag jdk7-b73 for changeset 2248859f89d4 2009-10-02 11:26:25 -07:00
Xiomara Jayasena
841b128bca Added tag jdk7-b73 for changeset 7e1a948466e2 2009-10-02 11:26:18 -07:00
Xiomara Jayasena
4d85021a72 Added tag jdk7-b73 for changeset 9cc5500d129d 2009-10-02 11:26:17 -07:00
Igor Nekrestyanov
3fa31de791 6887292: memory leak in freetypeScaler.c
Reviewed-by: bae, prr
2009-10-02 10:15:12 -07:00
Tim Bell
1686f3996f 6787605: OpenSolaris doesn't have /usr/ucb/ps so ShellScaffold fails
Reviewed-by: dcubed
2009-10-02 08:49:25 -07:00
Michael McMahon
1f4fc7efb7 Merge 2009-10-02 13:59:37 +01:00
Michael McMahon
45d2886ea7 6870935: DIGEST proxy authentication fails to connect to URLs with no trailing slash
Reviewed-by: chegar
2009-10-02 13:57:41 +01:00
Weijun Wang
2882b91893 6868579: RFE: jarsigner to support reading password from environment variable
Reviewed-by: xuelei, wetmore
2009-10-02 18:49:46 +08:00
Weijun Wang
52779dbc1f 6874472: display address lists for tickets in klist tool
Reviewed-by: valeriep
2009-10-02 18:49:05 +08:00
Weijun Wang
10b2d33a48 6862679: ESC: AD Authentication with user with umlauts fails
Reviewed-by: valeriep, mullan
2009-10-02 18:47:34 +08:00
Weijun Wang
fcaded312e 6324292: keytool -help is unhelpful
Reviewed-by: xuelei, mullan
2009-10-02 18:44:34 +08:00
John Cuthbertson
7f1cf79e6d 6887186: G1: Incorrect code generated for G1 pre-barrier by C1 on SPARC
Modify operand passed to C1 pre-barrier to be the operand representing the address of the object field that is being stored.

Reviewed-by: never
2009-10-01 15:56:19 -07:00
Anthony Petrov
68c236347f 6862611: Reg testcase closed/java/awt/Component/NativeInLightShow/NativeInLightShow.html fails
The recursiveShowHeavyweightChildren() must be invoked unconditionally in mixOnShowing()

Reviewed-by: art, dcherepanov
2009-10-01 15:06:16 +04:00
Anthony Petrov
92d4496fac 6886868: giflib has a memory leak in the MakeMapObject() function
Free() the object before returning NULL

Reviewed-by: art, dcherepanov
2009-10-01 14:48:05 +04:00
Michael McMahon
bf7ffbe0c0 Merge 2009-10-01 11:25:22 +01:00
John R Rose
f34acd6601 Merge 2009-09-30 13:25:39 -07:00
Antonios Printezis
2c2a8ae8b1 6890137: G1: revamp reachable object dump
Revamp the reachable object dump debugging facility.

Reviewed-by: jmasa, apetrusenko
2009-09-30 14:50:51 -04:00
Antonios Printezis
7c9b6d8d16 6886024: G1: assert(recent_avg_pause_time_ratio() < 1.00,"All GC?")
The assert is incorrect and can fire incorrectly due to floating point inaccuracy.

Reviewed-by: apetrusenko, ysr, jcoomes
2009-10-23 14:34:27 -04:00
Dmitry Cherepanov
d091c784ed 6878284: Sometimes test/javax/swing/system/6799345/TestShutdown.java "hangs"
Reviewed-by: art, ant
2009-09-30 15:48:06 +04:00
Pavel Tisnovsky
3bb6edd167 6884837: JTReg test SetOutgoingIf is not correct
Added check of network interfaces status

Reviewed-by: alanb, chegar
2009-09-30 11:49:10 +02:00
Dmitry Cherepanov
0d7e36485c 6853592: VM test nsk.regression.b4261880 fails with "X Error of failed request: BadWindow" inconsistently
Reviewed-by: art, anthony
2009-09-30 13:21:51 +04:00
Mandy Chung
683ef572aa Merge 2009-09-29 22:49:43 -07:00
Steven Loomis
72f355d0cf 6886718: missing license info
Reviewed-by: igor, prr
2009-09-29 16:32:47 -07:00
Mandy Chung
fc0fc96e68 6879044: Eliminate the dependency on logging from the AWT/2D/Swing classes
Replace calls to Logger with sun.util.logging.PlatformLogger

Reviewed-by: prr, art, alexp, dcherepanov, igor, dav, anthony
2009-09-29 16:03:03 -07:00
Steven Loomis
2a689e3419 Merge 2009-09-29 15:31:18 -07:00
Steven Loomis
eb4298db6a 6501644: sync LayoutEngine *code* structure to match ICU
Reviewed-by: prr
2009-09-29 14:06:13 -07:00
Jennifer Godinez
6103978814 Merge 2009-09-29 09:02:00 -07:00
Michael McMahon
ef945f9722 6886108: Test case B4933582 binding to fixed port number
Reviewed-by: chegar
2009-09-29 10:00:57 +01:00
Kelly O'Hair
fa9b682fcf 6886359: Missing jaxws property files and missing changes in jaxp/jaxws drop bundles
Reviewed-by: jjg, tbell
2009-09-28 19:39:40 -07:00
Kelly O'Hair
6b768958fb 6886359: Missing jaxws property files and missing changes in jaxp/jaxws drop bundles
Reviewed-by: jjg, tbell
2009-09-28 19:38:55 -07:00
Changpeng Fang
9640e8148d 6886353: For DeoptimizeALot, JTreg tests should "IgnoreUnrecognizedVMOptions on a product build
Add IgnoreUnrecognizedVMOptions for JTreg tests (on a product build) to pass with DeoptimizeALot

Reviewed-by: kvn
2009-09-28 17:14:25 -07:00
Jonathan Gibbons
9caa2fcaf2 6886348: apt incorrectly uses Scope.table
Reviewed-by: darcy
2009-09-28 16:48:30 -07:00
Steven Loomis
13748aa22b 6795060: VM crash on Linux in ICU layout library when processing \u0DDD (Sinhalese)
Reviewed-by: igor, prr
2009-09-28 11:52:22 -07:00
Karen Kinnear
1a46b05dd4 Merge 2009-09-28 12:27:52 -04:00
Tim Bell
2fa89790cc Merge 2009-09-25 22:04:43 -07:00
Tim Bell
81aa7df4c9 Merge 2009-09-25 14:24:14 -07:00
Vladimir Kozlov
7e942d79d0 6883468: C2 compiler enters infinite loop in PhaseIterGVN::transform
Avoid ideal transformation ping-pong between AddPNode::Ideal() and CastX2PNode::Ideal().

Reviewed-by: cfang
2009-09-25 13:26:02 -07:00
Erik Trimble
3cb09cdcfc 6885900: Bump the HS17 build number to 02
Update the HS17 build number to 02

Reviewed-by: jcoomes
2009-09-25 12:19:19 -07:00
Erik Trimble
652ccb8d21 Merge 2009-09-25 12:17:06 -07:00
Andrey Petrusenko
698cbc8361 Merge 2009-09-25 04:39:54 -07:00
Joe Darcy
06d5d6e0ea 6337964: should ignore last comma in annotation array
Reviewed-by: jjg
2009-09-24 16:00:03 -07:00
Vinnie Ryan
b56db81425 6863503: SECURITY: MessageDigest.isEqual introduces timing attack vulnerabilities
Reviewed-by: mullan, wetmore
2009-09-24 22:50:41 +01:00
Xiaobin Lu
89aa7fcef6 6880029: JDK 1.6.0_u14p Application crashed very early
Reviewed-by: never, ysr, acorn
2009-09-24 12:10:46 -07:00
Weijun Wang
a4622c3ab0 6885166: regression test for 6877357 (IPv6 address does not work) error (timed out)
Reviewed-by: xuelei
2009-09-24 21:35:34 +08:00
John R Rose
eb73cf4739 6885169: merge of 4957990 and 6863023 causes conflict on do_nmethods
After mechanically merging changes, some by-hand adjustments are needed.

Reviewed-by: ysr
2009-09-23 23:57:44 -07:00
John R Rose
40d52710f6 Merge 2009-09-23 23:56:15 -07:00
Jonathan Gibbons
e116c27b51 6572945: javah should be written as an annotation processor, not a doclet
Reviewed-by: darcy
2009-09-23 19:15:04 -07:00
Jonathan Gibbons
6e3d970196 6410637: Make decision on deprecated methods in DefaultFileManager and BaseFileObject
6747645: ZipFileObject.getName is incorrectly deprecated
6885123: JavaFileObject getName issues

Reviewed-by: mcimadamore
2009-09-23 18:48:13 -07:00
Joe Darcy
2f016d3e82 6517779: javax.lang.model.util.Elements.getConstantExpression() doesn't throw any exception
6517907: javax.lang.model.util.Elements.getConstantExpression() with negative byte value fails

Fix various problems with Elements.getConstantExpression()

Reviewed-by: jjg
2009-09-23 18:29:41 -07:00
Andrew John Hughes
a6a41760f1 6884552: remove some unnecessary #ifdef's introduced in the fix for 4957990
Removed the unnecessary #ifdef's which were interfering with the build of the Zero-assembler port

Reviewed-by: ysr, jcoomes
2009-09-23 11:36:06 -07:00
Dalibor Topic
73e9e343ca 6872735: Further update build readme for new platforms
6641691: Bring build readme's up-to-date

Added build instructions for Debian, Ubuntu 8.04, 8.10, 9.04, Fedora 10, 11, OpenSolaris 2009.06, OpenSUSE and Mandriva

Reviewed-by: ohair, andrew
2009-09-23 20:06:01 +02:00
Peter Zhelezniakov
7580f39507 6857888: closed/javax/swing/JMenuItem/6458123/bug6458123.java fails with InvocationTargetException
Reviewed-by: alexp
2009-09-23 21:14:53 +04:00
Daniel D. Daugherty
f6523d1043 6876794: 4/4 sp07t002 hangs very intermittently
Remove over locking by VMThread on "is thread suspended?" check

Reviewed-by: dholmes, acorn, andrew
2009-09-22 21:12:37 -06:00
Kevin Bourrillion
beaa8fd82d 6582946: Add suite of compare(T, T) methods for ints, longs etc
Reviewed-by: darcy
2009-09-22 18:30:58 -07:00
Martin Buchholz
4e63c9bc06 4245470: algorithm of java.lang.Byte.hashCode() is not specified
Specify some hashCode methods are equivalent to intValue

Reviewed-by: darcy
2009-09-22 18:30:58 -07:00
Joe Darcy
8249846a75 6468534: (reflect) Exception types cannot be parameterized, rephrase getGenericExceptionTypes
Reviewed-by: alanb
2009-09-22 16:11:23 -07:00
Xiomara Jayasena
dbe66b7524 6884624: Update copyright year
Update copyright for files that have been modified in 2009 through Septermber

Reviewed-by: tbell, ohair
2009-09-22 14:06:29 -07:00
Xiomara Jayasena
b9490b461c 6884624: Update copyright year
Update copyright for files that have been modified in 2009 through Septermber

Reviewed-by: tbell, ohair
2009-09-22 14:06:16 -07:00
Xiomara Jayasena
15f08eb80e 6884624: Update copyright year
Update copyright for files that have been modified in 2009 through Septermber

Reviewed-by: tbell, ohair
2009-09-22 14:06:10 -07:00
Xiomara Jayasena
bd6c8e08ad 6884624: Update copyright year
Update copyright for files that have been modified in 2009 through Septermber

Reviewed-by: tbell, ohair
2009-09-22 14:06:05 -07:00
Xiomara Jayasena
61b219fab0 6884624: Update copyright year
Update copyright for files that have been modified in 2009 through Septermber

Reviewed-by: tbell, ohair
2009-09-22 14:06:04 -07:00
Kevin Walls
f695429d13 Merge 2009-09-22 17:16:30 +01:00
Kevin Walls
d3dbee73a6 6882768: (launcher) test for 6842838 is broken
Testcase correction.

Reviewed-by: ksrini
2009-09-22 17:01:08 +01:00
Chris Hegarty
83a2d51330 6882384: Update http protocol handler to use PlatformLogger
Reviewed-by: jccollet, alanb
2009-09-22 14:49:06 +01:00
Chris Hegarty
147409ee76 6882654: Remove dependency on java.util.concurrent from KeepAlive implementaion
Reviewed-by: michaelm
2009-09-22 14:42:07 +01:00
Yuri Nesterenko
50d281b1da Merge 2009-09-22 01:20:51 -07:00
Joe Darcy
2486dde2ef 6884227: Clarify ordering requirements of javax.lang.model.TypeElement.getEnclosedElements
Reviewed-by: ahe
2009-09-21 21:08:11 -07:00
Weijun Wang
938ca04641 6877357: IPv6 address does not work
Reviewed-by: xuelei, alanb
2009-09-22 10:01:32 +08:00
Kelly O'Hair
1329a2d707 6884220: Have drop sources ignore the output.dir property
Reviewed-by: xdono
2009-09-21 17:21:26 -07:00
Kelly O'Hair
a0515a4b2f 6884220: Have drop sources ignore the output.dir property
Reviewed-by: xdono
2009-09-21 17:21:14 -07:00
Karen Kinnear
4e453ff713 Merge 2009-09-21 18:10:22 -04:00
Vinnie Ryan
f13c1a7ce9 6884175: CR cleanup for 6840752: Provide out-of-the-box support for ECC algorithms
Reviewed-by: wetmore
2009-09-21 23:01:42 +01:00
Kelly O'Hair
08094f7265 6856630: Restructure jaxp/jaxws repositories
Reviewed-by: darcy, tbell
2009-09-21 13:57:02 -07:00
Kelly O'Hair
31015d22e7 6856630: Restructure jaxp/jaxws repositories
Reviewed-by: darcy, tbell
2009-09-21 13:54:55 -07:00
Daniel D. Daugherty
2a4f284029 6419370: 4/4 new jmethodID code has tiny holes in synchronization
Fix races in jmethodID cache and JNI itable index cache.

Reviewed-by: ikrylov, acorn
2009-09-21 09:30:24 -06:00
Alexander Potochkin
77205e0f7b 6883341: SWAT: jdk7-b72 swat build(2009-09-17) threw exceptions when running Java2D demo by clicking Paint ta
Reviewed-by: peterz
2009-09-21 17:58:09 +04:00
Yuri Nesterenko
979ba581fe Merge 2009-09-21 01:26:57 -07:00
Mandy Chung
45eb529e81 Merge 2009-09-18 17:27:24 -07:00
Kelly O'Hair
cd6e08db27 6883816: corba fix for missing javax/transaction/xa classes (the real fix)
Reviewed-by: tbell
2009-09-18 17:10:28 -07:00
Kelly O'Hair
97f616d2bd 6883790: corba build problem related to wildcard and vpath, regression
Reviewed-by: tbell
2009-09-18 16:26:51 -07:00
Chris Hegarty
b80faad9c4 Merge 2009-09-18 22:19:02 +01:00
Chris Hegarty
fc6bda88ab 6882594: Remove static dependancy on NTLM authentication
Reviewed-by: alanb, weijun
2009-09-18 22:18:19 +01:00
Karen Kinnear
73672d44db Merge 2009-09-18 15:14:50 -04:00
Vladimir Kozlov
25296d001b 6820514: meet not symmetric failure in ctw
Add missing instance_id meet.

Reviewed-by: never
2009-09-18 09:57:47 -07:00
Xiomara Jayasena
2f09b5fdac Merge 2009-09-18 09:39:47 -07:00
Xiomara Jayasena
f6af1ca910 Merge 2009-09-18 09:39:45 -07:00
Tim Bell
f73e24fb02 Merge 2009-09-18 08:48:50 -07:00
Tim Bell
0f4cfe632d Merge 2009-09-18 08:47:48 -07:00
Chris Hegarty
be7dddc8a3 6882609: Move default InMemoryCookieStore to java.net
Remove static dependency on sun.net.www.protocol.http

Reviewed-by: alanb, jccollet
2009-09-18 16:24:26 +01:00
Andrey Petrusenko
0b2a3eda9c Merge 2009-09-18 06:02:17 -07:00
Pavel Porvatov
c47e47b64a 6840086: JFileChooser lacks icons on top right when running on Windows 7
Reviewed-by: peterz, uta
2009-09-18 15:11:28 +04:00
Mandy Chung
70bee45623 6882376: Add internal support for JRE implementation to eliminate the dependency on logging
Added sun.util.logging.PlatformLogger for JRE implementation to log messages.

Reviewed-by: alanb, naoto
2009-09-17 14:24:55 -07:00
Xiomara Jayasena
20b992369b Added tag jdk7-b72 for changeset 182e4a28c0ce 2009-09-17 13:47:11 -07:00
Xiomara Jayasena
581ef376a5 Added tag jdk7-b72 for changeset 41a9e8c0158c 2009-09-17 13:47:00 -07:00
Xiomara Jayasena
c9c5ac0904 Added tag jdk7-b72 for changeset e7c4cb9f1531 2009-09-17 13:46:52 -07:00
Xiomara Jayasena
243c6bb6b9 Added tag jdk7-b72 for changeset 860f9bfce06d 2009-09-17 13:46:50 -07:00
Xiomara Jayasena
fc5a3ad2a8 Added tag jdk7-b72 for changeset 0fa11a27fb57 2009-09-17 13:46:45 -07:00
Xiomara Jayasena
8355f042db Added tag jdk7-b72 for changeset 8a5d4dfe242d 2009-09-17 13:46:41 -07:00
Xiomara Jayasena
003a900fad Added tag jdk7-b72 for changeset 457827146a9c 2009-09-17 13:46:39 -07:00
Kelly O'Hair
0b60e378d4 Merge 2009-09-17 13:17:57 -07:00
Alexander Potochkin
c6abcd3327 4833524: BasicTreeUI.isToggleSelectionEvent() does not properly handle popup triggers
Reviewed-by: rupashka
2009-09-17 19:08:15 +04:00
Jennifer Godinez
7ba506e726 Merge 2009-09-16 19:36:05 -07:00
Karen Kinnear
9ed976194b 6879572: SA fails _is_marked_dependent not found
Reviewed-by: kamg, dcubed
2009-09-16 15:42:46 -04:00
Tom Rodriguez
7437f0b825 6854812: 6.0_14-b08 crashes with a SIGSEGV
Reviewed-by: kvn, twisti
2009-09-16 11:06:10 -07:00
Tim Bell
b43c00d17d Merge 2009-09-16 09:23:50 -07:00
Karen Kinnear
27286386e9 Merge 2009-09-16 09:10:57 -04:00
Sergey Groznyh
c975650b82 4337267: Arabic Numeral Shaping
Reviewed-by: peterz
2009-09-16 16:15:41 +04:00
Yuri Nesterenko
5d7bb00c89 Merge 2009-09-15 23:41:40 -07:00
John R Rose
47c425506d Merge 2009-09-15 22:50:12 -07:00
John R Rose
e261aecad8 6863023: need non-perm oops in code cache for JSR 292
Make a special root-list for those few nmethods which might contain non-perm oops.

Reviewed-by: twisti, kvn, never, jmasa, ysr
2009-09-15 21:53:47 -07:00
Daniel D. Daugherty
f97dbeeb5c 6882363: 4/4 typos in java.util.logging javadocs
Fix typos, some grammar and some inconsistencies in phrasing.

Reviewed-by: tbell
2009-09-15 22:11:15 -06:00
Erik Trimble
ca3fd330c5 Merge 2009-09-15 20:44:24 -07:00
Vladimir Kozlov
c89a572b3e 6879362: assert(!klass_is_exact(),"only non-exact klass")
Do nothing for AddP node which has type not related to the type of allocated object.

Reviewed-by: never
2009-09-15 19:03:39 -07:00
Jonathan Gibbons
e4f3f066c0 6860965: Project Coin: binary literals
6860973: Project Coin: Underscores in literals

[Portions contributed by Bruce Chapman]

Reviewed-by: darcy
2009-09-15 18:36:21 -07:00
Y. Srinivas Ramakrishna
8c18990964 6861557: G1: assert(top() == bottom() || zfs == Allocated,"Region must be empty, or ...")
Druing heap shrinking, check for emptiness of a region before modifying its ZF status.

Reviewed-by: tonyp
2009-09-15 16:50:50 -07:00
Karen Kinnear
ffb85ff832 Merge 2009-09-15 16:28:57 -04:00
Jonathan Gibbons
8a6e77c436 6882235: invalid exponent causes silent javac crash
Reviewed-by: darcy
2009-09-15 12:20:55 -07:00
Changpeng Fang
1cf5b7ae11 6879921: CTW failure jdk6_18/hotspot/src/share/vm/utilities/globalDefinitions.cpp:268
Filter out non-primitives before deciding whether two ops can be packed

Reviewed-by: kvn, never
2009-09-15 11:09:34 -07:00
Alexander Potochkin
840c0d8150 6875716: JLayer.remove((Component)null) should behave consistently in (not) throwing NPE
Reviewed-by: rupashka
2009-09-15 16:26:40 +04:00
Anthony Petrov
8de3691f04 6868255: Requirements for correct operating of the HW/LW Mixing feature need to be specified
The specification is updated

Reviewed-by: art, dcherepanov
2009-09-15 16:15:36 +04:00
Daniel D. Daugherty
06f38fc45f Merge 2009-09-14 18:54:26 -06:00
Daniel D. Daugherty
2b70fc1bba 6862295: JDWP threadid changes during debugging session (leading to ingored breakpoints)
New test for the above fix.

Reviewed-by: tbell
2009-09-14 18:45:20 -06:00
Jonathan Gibbons
e851626bac 6881317: regression: NPE in CloseableURLClassLoader
Reviewed-by: darcy
2009-09-14 17:13:00 -07:00
Mandy Chung
4263120172 Merge 2009-09-14 13:38:55 -07:00
Mandy Chung
a89a6c4aeb 6878481: Add performance counters in the JDK
Added new performance counters in the JDK to track performance metrics

Reviewed-by: alanb, dholmes, iris, forax, andrew
2009-09-14 13:37:26 -07:00
Kevin Walls
4a82626658 6842838: 64-bit failure in handling invalid manifest in launcher
Don't compare with hard-coded 32-bit -1 when checking zip fields.

Reviewed-by: ksrini
2009-09-14 20:55:08 +01:00
Vladimir Kozlov
243514d483 6827605: new String intrinsics may prevent EA scalar replacement
6875866: Intrinsic for String.indexOf() is broken on x86 with SSE4.2

Modify String intrinsic methods to pass char[] pointers instead of string oops.

Reviewed-by: never
2009-09-14 12:14:20 -07:00
Vladimir Kozlov
5e31e14ea4 Merge 2009-09-14 11:45:03 -07:00
Xiomara Jayasena
a9e537f037 Merge 2009-09-14 10:57:40 -07:00
Changpeng Fang
c492f4cde5 6877254: Server vm crashes with no branches off of store slice" when run with CMS and UseSuperWord(default)
Design StoreCMNode::Ideal to promote its oopStore input if the input is a MergeMem node

Reviewed-by: kvn, never
2009-09-14 09:49:54 -07:00
Alan Bateman
8543d84e30 6876541: (file) Files.walkFileTree(...): no SecurityException if read access to the starting file is denied
Reviewed-by: chegar
2009-09-14 17:47:26 +01:00
Alan Bateman
8f7bc9c9f3 6529758: JVMTI Waiters demo crashes. Double free
Reviewed-by: ohair, tbell
2009-09-14 15:29:13 +01:00
Andrew Brygin
1e716786f0 6872358: JRE AWT setBytePixels vulnerable to Heap Overflow
Reviewed-by: prr, hawtin
2009-09-14 11:46:16 +04:00
Martin Buchholz
b5f1c84e3e 6881442: (reflect) Race condition in Class.getName()
Only read "name" field racily once

Reviewed-by: darcy
2009-09-12 15:30:13 -07:00
Andrew John Hughes
3d73906ac5 6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk
The build fails if the bootstrap JDK defaults to <1.5

Reviewed-by: jcoomes
2009-09-12 12:50:07 +01:00
Xueming Shen
ee98fe5cd9 6881337: ZipEntry.setComment() was accidentally changed back to old spec/impl in jdk7-b64
Restored the correct spec and implementation of setComment

Reviewed-by: martin
2009-09-11 16:36:22 -07:00
Vladimir Kozlov
e0519e7bbd 6880053: assert(alloc_obj->as_CheckCastPP()->type() != TypeInstPtr::NOTNULL)
Removed second CheckCastPP and use MembarCPUOrder after arraycopy to cloned object.

Reviewed-by: never
2009-09-10 18:18:06 -07:00
Y. Srinivas Ramakrishna
e42ca11cd1 6872136: CMS: confusing message may be printed when a collector is switched off implicitly
Fix CDS/CMS option overrides related to iCMS option CMSIncrementalMode; explicate overrides to error stream.

Reviewed-by: coleenp
2009-09-10 16:46:17 -07:00
Andrew John Hughes
923f665126 6882745: Add DISABLE_INTREE_EC option to make new EC provider optional
Don't build the ec subdirectory when DISABLE_INTREE_EC is defined.

Reviewed-by: vinnie
2009-09-10 19:04:25 +01:00
Jean-Christophe Collet
19396438bb 6737819: sun.misc.net.DefaultProxySelector doesn't use proxy setting to localhost
Move default nonProxyHosts from hardcoded to property default value

Reviewed-by: chegar
2009-09-18 10:51:44 +02:00
Vladimir Kozlov
515f68b637 6880574: C2 assert in escape.cpp:445 on linux-amd64
Look through chained AddP nodes in get_addp_base().

Reviewed-by: jrose
2009-09-10 10:36:24 -07:00
Karen Kinnear
ab1485b385 Merge 2009-09-10 09:04:41 -04:00
Andrew Brygin
c87d132dcc 6631533: ICC_Profile allows detecting if some files exist
Reviewed-by: prr, hawtin
2009-09-10 14:15:47 +04:00
Andrew Brygin
3915dad0c7 6632445: DoS from parsing BMPs with UNC ICC links
Reviewed-by: prr, hawtin
2009-09-10 14:04:38 +04:00
Andrew Brygin
c26aec2e52 6822057: X11 and Win32GraphicsDevice don't clone arrays returned from getConfigurations()
Reviewed-by: prr, hawtin
2009-09-10 13:52:27 +04:00
Andrew Brygin
e07c626a48 6862968: JPEG Image Writer quantization problem
Reviewed-by: prr, hawtin
2009-09-10 13:35:28 +04:00
Andrew Brygin
a3de8d40eb 6872357: JRE AWT setDifflCM vulnerable to Stack Overflow
Reviewed-by: prr, hawtin
2009-09-10 12:50:09 +04:00
Peter Zhelezniakov
886ebc30da 6827786: Mnemonic cycling for multiple equal mnemonic armed menu items stops when encountering a submenu
Reviewed-by: alexp
2009-09-10 12:30:55 +04:00
Andrew Brygin
67e3ba76c1 6874643: ImageI/O JPEG is vulnerable to Heap Overflow
Reviewed-by: prr, hawtin
2009-09-10 12:26:34 +04:00
Lance Andersen
55b5651b11 6737212: Fixed javadoc warning messages in RowSet classes
Reviewed-by: darcy
2009-09-09 20:15:22 -04:00
Vladimir Kozlov
75e90c9027 6880533: test/compiler/6865031/Test.java miss -XX:+IgnoreUnrecognizedVMOptions
Add missing test option -XX:+IgnoreUnrecognizedVMOptions.

Reviewed-by: never
2009-09-09 16:28:03 -07:00
Sean Mullan
0ae473ed4b Merge 2009-09-09 09:59:48 -04:00
Sean Mullan
106b2d9f64 6745437: Add option to only check revocation of end-entity certificate in a chain of certificates
6869739: Cannot check revocation of single certificate without validating the entire chain

Reviewed-by: xuelei
2009-09-09 09:54:13 -04:00
Alexander Potochkin
215be80bb8 6878792: Sample provided in javax.swing.JLayer class description is not usable
Reviewed-by: rupashka
2009-09-09 17:32:18 +04:00
Yuri Nesterenko
926d6d625a Merge 2009-09-09 00:51:06 -07:00
Yuri Nesterenko
a461e5c10a Merge 2009-09-09 00:49:44 -07:00
Yuri Nesterenko
0767c39799 Merge 2009-09-09 00:48:59 -07:00
Vladimir Kozlov
f0f6f93143 6880052: SIGSEGV in GraphKit::null_check_common()
Check that a klass is not NULL before the is_loaded() call.

Reviewed-by: never
2009-09-08 16:56:31 -07:00
Martin Buchholz
f22c848304 6850958: Honor -XX:OnOutOfMemoryError when array size exceeds VM limit
Test hotspot/jvmti fix 6850957 using ProcessBuilder test infrastructure

Reviewed-by: tbell, dholmes, alanb, ysr
2009-09-08 14:33:59 -07:00
Peter von der Ahe
528f733b28 6709246: ClassCastException in javadoc
Reviewed-by: jjg
2009-09-08 14:08:26 -07:00
Peter von der Ahe
f4883897ce 5093723: REGRESSION: ClassCastException in SingleIndexWriter
Reviewed-by: jjg
2009-09-08 13:53:10 -07:00
Mandy Chung
5625b33736 Merge 2009-09-08 12:59:03 -07:00
Jonathan Gibbons
b2645b9065 6879371: javap does not close internal default file manager
Reviewed-by: darcy
2009-09-08 11:43:57 -07:00
Jonathan Gibbons
a8e28960cd 6879346: files have Windows newlines
Reviewed-by: darcy
2009-09-08 11:29:58 -07:00
Jonathan Gibbons
b2eaa8339f 6419701: DefaultFileManager clean up: URI.create
6483788: DefaultFileManager.ZipFileObject.toUri() fails to escape space characters
6501502: JSR 199: FileObject.toUri should return file:///c:/ or file:/c:/ not file://c:/
6877206: JavaFileObject.toUri returns bogus URI (win)
6877223: tests @ignored because of issues with File.toURI on Windows

Reviewed-by: mcimadamore, alanb
2009-09-08 11:12:13 -07:00
Vladimir Kozlov
d486b5f5fd 6875619: CTW fails with /hotspot/src/share/vm/opto/type.hpp
In load_array_length() cast array's type to TypeOopPtr when calling make_ideal_length() method.

Reviewed-by: never
2009-09-08 10:42:50 -07:00
Sergey Malenkov
e9e1f27be4 6868185: 2 JCK api/java_beans/Introspector/ tests fails starting from jdk7 b66
Reviewed-by: peterz
2009-09-08 14:08:59 +04:00
Andrew John Hughes
361f8360c0 Merge 2009-09-08 09:02:48 +01:00
Andrew John Hughes
9cbfcde9a7 6879689: Fix warning about ignored return value when compiling with -O2
Store the return value of fwrite and check it matches the size of the array.

Reviewed-by: twisti, dholmes
2009-09-08 09:01:16 +01:00
Pavel Porvatov
b339e0eaac 6589634: Unable to view focus on "Up one level", "create new folder" etc. of JFileChooser Dialog
Reviewed-by: peterz, loneid
2009-09-07 15:09:40 +04:00
Sergey Groznyh
755af2463d 6699856: Creating text in a JTextPane using Chinese text causes undesired behavior
Reviewed-by: peterz
2009-09-07 12:27:53 +04:00
Tim Bell
a9c0aa5d35 Merge 2009-09-06 23:14:42 -07:00
Alan Bateman
575542b7a4 Merge 2009-09-05 15:57:25 +01:00
Abhijit Saha
5456677e02 Merge 2009-09-05 07:55:05 -07:00
Tim Bell
2528789489 Merge 2009-09-04 17:07:29 -07:00
Mandy Chung
4097a41ef0 Merge 2009-09-04 15:44:26 -07:00
Alan Bateman
d1f3f3509d 6432567: PIT : com/sun/jdi/BadHandshakeTest.java fails due to java.net.ConnectException
Reviewed-by: tbell, ohair, dcubed, andrew
2009-09-04 22:22:55 +01:00
Martin Buchholz
86d587f77c 6879368: Remove stray quote in Character javadoc
Remove stray quote in Character.valueOf javadoc, using Ulf's \u005CuXXXX technique

Reviewed-by: darcy
2009-09-04 13:44:36 -07:00
Joe Darcy
f8db2dee43 6873951: test/java/lang/reflect/Generics/Probe.java fails
Reviewed-by: alanb
2009-09-04 13:11:17 -07:00
Alan Bateman
5d15a44868 6868627: (spec) Files.walkFileTree doesn't make it clear that uncaught errors and exceptions are propagated
Reviewed-by: sherman
2009-09-04 18:17:26 +01:00
Alan Bateman
98e07b99bf 6873621: (file) FileStore.supportsFileAttributeView(Class<FileAttributeView> type) returns wrong result
Reviewed-by: andrew
2009-09-04 18:15:50 +01:00
Karen Kinnear
488e99efd8 6830542: Performance: JVM_DefineClass already verified
Reviewed-by: kamg, phh
2009-09-04 12:53:02 -04:00
Andrey Petrusenko
9ae6fb796e Merge 2009-09-04 05:31:37 -07:00
Yuri Nesterenko
13dde485d8 6871299: Shift+Tab no longer generates a KEY_TYPED event; used to with JRE 1.5
Add XK_ISO_Left_Tab -> VK_TAB rule

Reviewed-by: dcherepanov
2009-09-04 14:50:58 +04:00
Weijun Wang
58285b80f7 6871847: AlgorithmId.get("SHA256withECDSA") not available
Reviewed-by: vinnie
2009-09-04 14:59:20 +08:00
Weijun Wang
fe71efb327 6876328: different names for the same digest algorithms breaks jarsigner
Reviewed-by: mullan
2009-09-04 14:58:01 +08:00
John Coomes
928d5f78a4 6879076: disable jprt sync after builds are done
Reviewed-by: kamg, dholmes
2009-09-03 19:21:55 -07:00
Tim Bell
85c1521893 Merge 2009-09-03 18:34:17 -07:00
Tim Bell
83913b7eb3 Merge 2009-09-03 18:32:55 -07:00
Kelly O'Hair
0c401657e1 6855174: Improve log output when builds transition from one workspace to another
Reviewed-by: jjg
2009-09-03 17:44:28 -07:00
Mandy Chung
9bbb1cf383 Merge 2009-09-03 16:09:37 -07:00
Xiomara Jayasena
b08657d2a5 Added tag jdk7-b71 for changeset cdf91569d4eb 2009-09-03 10:53:14 -07:00
Xiomara Jayasena
13aa25f4c7 Added tag jdk7-b71 for changeset 9abe0c99c0b9 2009-09-03 10:53:04 -07:00
Xiomara Jayasena
dd4c0eb96a Added tag jdk7-b71 for changeset ee84ebd54dea 2009-09-03 10:52:58 -07:00
Xiomara Jayasena
87d5ac63db Added tag jdk7-b71 for changeset 8796aa786ade 2009-09-03 10:52:56 -07:00
Xiomara Jayasena
c5819893e7 Added tag jdk7-b71 for changeset 8e014ad9c233 2009-09-03 10:52:51 -07:00
Xiomara Jayasena
3783377b2b Added tag jdk7-b71 for changeset ae9b655e7393 2009-09-03 10:52:48 -07:00
Xiomara Jayasena
d1c8fd4a06 Added tag jdk7-b71 for changeset 9a027a1c0510 2009-09-03 10:52:47 -07:00
Sergey Malenkov
63810a5c42 6657026: Numerous static security flaws in Swing (findbugs)
Reviewed-by: hawtin, peterz
2009-09-03 19:42:27 +04:00
Jonathan Gibbons
4de45a009d 6874249: Check has duplicate local variable and field for "source"
Reviewed-by: mcimadamore
2009-09-02 10:20:46 -07:00
Kelly O'Hair
b4723614c1 6875240: Reduce Makefile build time by limiting repeated exec's (mostly for cygwin building)
Reviewed-by: jjg, iris
2009-09-02 09:20:17 -07:00
Alexander Potochkin
8db0c57ad0 6797139: JButton title is truncating for some strings irrespective of preferred size
Reviewed-by: peterz
2009-09-02 17:47:19 +04:00
Poonam Bajaj
c04761e799 6858208: jvm crash when specifying TypeProfileWidth=0 on jdk 6.0
Add an explicit check for TypeProfileWidth == 0 in record_klass_in_profile_helper() functions.

Reviewed-by: never, coleenp
2009-09-01 23:34:08 -07:00
Andrew John Hughes
a2574bbbdb 6878106: Synchronize CORBA and JDK makefiles where possible
Add recent changes to the JDK makefile to the CORBA makefile

Reviewed-by: jjg, never
2009-09-01 23:44:41 +01:00
Xiomara Jayasena
a0f91a8f7e Merge 2009-09-01 13:03:09 -07:00
Jonathan Gibbons
98fa57b3ac 6877763: update langtools/test/Makefile for JPRT
Reviewed-by: ohair
2009-09-01 11:35:00 -07:00
Abhijit Saha
32864409e0 Merge 2009-09-01 08:15:00 -07:00
Alexander Potochkin
3ef90fd6fd 6875153: JLayer.isOptimizedDrawingEnabled() throws NPE for null glass pane set
Reviewed-by: rupashka
2009-09-01 18:51:15 +04:00
Maurizio Cimadamore
1de40db76d 6650759: Inference of formal type parameter (unused in formal parameters) is not performed
Propagate inference constraints from 15.12.2.7 to 15.12.2.8

Reviewed-by: jjg
2009-09-01 14:53:39 +01:00
Peter Zhelezniakov
4e092f7b46 6387579: Usage of package-private class as parameter of a method (javax.swing.tree.DefaultTreeSelectionModel)
Reviewed-by: rupashka
2009-09-01 15:34:21 +04:00
Yuka Kamiya
1c6321606d 6856390: RFE : sequence.allfonts.UTF-8.ja for Windows fontconfig.properties
Reviewed-by: okutsu
2009-09-01 16:15:12 +09:00
Yuka Kamiya
1edb7c8b69 6838887: (tz) Add UTC and Yerevan to tzmappings
Reviewed-by: okutsu
2009-09-01 15:42:01 +09:00
Yuka Kamiya
7a13cf5c89 6830423: Unified Ext B character not displayed with Dialog font
Reviewed-by: okutsu
2009-09-01 15:39:17 +09:00
Jonathan Gibbons
a4d40c3100 6877759: test/tools/javac/processing/environment/round/TestElementsAnnotatedWith.java leaves open file
Reviewed-by: darcy
2009-08-31 19:43:06 -07:00
Jonathan Gibbons
729ed5d746 6877751: test/tools/javac/6627362/T6627362.java fails
Reviewed-by: darcy
2009-08-31 18:25:00 -07:00
Jonathan Gibbons
9df373712c 6877744: delete extraneous file
Reviewed-by: darcy
2009-08-31 17:16:52 -07:00
Tom Rodriguez
57a92290f4 6855215: Calculation error (NaN) after about 1500 calculations
Reviewed-by: kvn
2009-08-31 17:07:53 -07:00
Martin Buchholz
9ef7eb7884 6860431: Character.isSurrogate(char ch)
Add new method Character.isSurrogate(char ch)

Reviewed-by: sherman, darcy, okutsu
2009-08-31 15:00:04 -07:00
Jonathan Gibbons
ec2a9994f5 6877229: more javac tests fail on Windows
Reviewed-by: darcy
2009-08-31 12:36:26 -07:00
Abhijit Saha
8ea9f6a2dc Merge 2009-08-31 08:54:39 -07:00
Changpeng Fang
457be8ad49 6876276: assert(!is_visited,"visit only once")
Schedule the superword loads based on dependence constraints

Reviewed-by: kvn, never
2009-08-31 08:31:45 -07:00
Alexander Potochkin
28023ec9d0 6872503: JLayer event handling should be rewritten
Reviewed-by: art
2009-08-31 18:39:41 +04:00
Peter Zhelezniakov
4f51fb4047 6844267: Nimbus generator depends on JIBX
Nimbus generator now uses JAXB instead of JIBX

Reviewed-by: jasper
2009-08-31 14:10:30 +04:00
Peter Zhelezniakov
39c5985ede 6844267: Nimbus generator depends on JIBX
Nimbus generator now uses JAXB instead of JIBX

Reviewed-by: jasper
2009-08-31 13:56:34 +04:00
Peter Zhelezniakov
d1839690e3 6802944: Nimbus initialization is too slow
Reviewed-by: jasper
2009-08-31 13:46:24 +04:00
Christian Thalinger
6ef69eb7c3 6875967: CTW fails with./generated/adfiles/ad_sparc.cpp:6711
Reviewed-by: cfang, never
2009-08-31 02:24:21 -07:00
Yuka Kamiya
4e064060c0 6456628: (tz) Default timezone is incorrectly set occasionally on Linux
Reviewed-by: okutsu
2009-08-31 14:53:05 +09:00
Yuka Kamiya
4e70dbf4cd 6872467: (tz) Support tzdata2009l
Reviewed-by: okutsu
2009-08-31 14:50:33 +09:00
Yuka Kamiya
be422eef48 6851214: (tz) New Jordan rule creates a failure for SimpleTimeZone parsing post tzdata2009h
Reviewed-by: okutsu
2009-08-31 12:55:15 +09:00
Andrei Pangin
13516fe398 Merge 2009-08-30 15:33:14 -07:00
Tim Bell
9d0ed63add Merge 2009-08-28 16:54:10 -07:00
Tim Bell
2c7126577e Merge 2009-08-28 16:53:44 -07:00
Daniel D. Daugherty
be978406f7 Merge 2009-08-28 15:03:15 -07:00
Jonathan Gibbons
45e9a3c1e9 6877188: some javac shell tests do not work on Windows
Reviewed-by: darcy
2009-08-28 14:48:49 -07:00
Joe Darcy
d3e91c9151 6261502: (reflect) Add the functionality to screen out the "inappropriate" modifier bits
Reviewed-by: alanb
2009-08-28 14:11:00 -07:00
Jonathan Gibbons
e4158efc0e 6876782: two javadoc tests fail on Windows
Reviewed-by: darcy
2009-08-28 12:12:08 -07:00
Daniel D. Daugherty
2357edfa00 Merge 2009-08-28 12:32:06 -06:00
Daniel D. Daugherty
779247f1cb 6875393: 2/3 JNI itable index cache is broken
Add missing initialization of cache size.

Reviewed-by: tbell
2009-08-28 12:25:46 -06:00
Vladimir Kozlov
343b5b0bef 6875577: CTW fails with /hotspot/src/share/vm/opto/memnode.cpp
Fix do_null_check to check for unloaded klass for all oop pointers.

Reviewed-by: never, cfang
2009-08-28 11:19:33 -07:00
Joe Darcy
575a3613d5 6877122: Many javadoc warnings from java.awt.Window, other awt classes
Reviewed-by: anthony
2009-08-28 11:11:11 -07:00
Abhijit Saha
42e578e5cc 6821003: Update hotspot windows os_win32 for windows 7
Reviewed-by: xlu
2009-08-28 08:54:28 -07:00
Anthony Petrov
197de32fb3 6689468: test/closed/java/awt/Component/VisibleHwInLwContTest/VisibleHwInLwContTest.html fails
The addNotify() checks whether the component is actually hidden, and hides the peer appropriately if needed

Reviewed-by: art, dcherepanov
2009-08-28 19:34:00 +04:00
Jonathan Gibbons
944568ba4b 6876765: javah tests fail on Windows
Reviewed-by: darcy
2009-08-27 18:25:21 -07:00
Xiaobin Lu
4b58ee1a37 6876282: BigDecimal's divide(BigDecimal bd, RoundingFormat r) produces incorrect result
Reviewed-by: darcy
2009-08-27 18:00:16 -07:00
Jonathan Gibbons
57102e24d4 6876755: apt tests fail on Windows
Reviewed-by: darcy
2009-08-27 17:50:21 -07:00
Jonathan Gibbons
ba8c7416f8 6876753: javap tests fail on Windows
Reviewed-by: darcy
2009-08-27 17:39:16 -07:00
Jonathan Gibbons
cf9084dc86 6843707: bad tests generate files in the test/ directory
6876699: generated files in repository

Reviewed-by: darcy
2009-08-27 15:12:36 -07:00
Abhijit Saha
65cf286a61 Merge 2009-08-27 15:08:10 -07:00
Mandy Chung
fcf8bea162 Merge 2009-08-27 12:58:18 -07:00
Joe Darcy
03e9812175 6876628: @throw instead of @throws in two ParagraphView classes
Reviewed-by: peterz
2009-08-27 11:48:35 -07:00
Jonathan Gibbons
af2f2e8d36 6875336: some tests should use /nodynamiccopyright/
Reviewed-by: darcy
2009-08-27 11:08:27 -07:00
Christian Thalinger
b357ca3ad1 6865583: Verbose CIPrintMethodCodes asserts when ldc an empty String
Ldc seems to load an empty String and that leads to an assert on offset < length, which are both zero.

Reviewed-by: kvn, never
2009-08-27 06:17:23 -07:00
Dmitry Cherepanov
8b2b083b28 6854898: Frame is located at the negative coordinates instead of origin for Solaris 10 CDE
Reviewed-by: art, anthony
2009-08-27 17:06:23 +04:00
Dmitry Cherepanov
27d7a83c52 6852051: Getting Null Pointer Exception when displaying message for TrayIcon on Opensolaris
Reviewed-by: anthony
2009-08-27 17:04:47 +04:00
Anthony Petrov
02d0fa16db 6780496: Javaw process taking up 80-90 percent of CPU time!
The transparency effects get enabled on showing, and disabled on hiding a window

Reviewed-by: art, dcherepanov
2009-08-27 16:42:55 +04:00
Maurizio Cimadamore
e5ce4a752b 6840638: Project Coin: Improved Type Inference for Generic Instance Creation (aka 'diamond')
Diamond operator implementation (simple approach)

Reviewed-by: jjg
2009-08-27 13:40:48 +01:00
Joe Darcy
a898594639 6548708: Annotation processing should free service loader if there are no processors
Reviewed-by: jjg
2009-08-26 19:28:51 -07:00
Abhijit Saha
9a9bb90a70 Merge 2009-08-26 08:38:57 -07:00
Masayoshi Okutsu
193bae2884 6824265: (tz) TimeZone.getTimeZone allows probing local filesystem
Reviewed-by: peytoia
2009-08-26 17:05:15 +09:00
Doug Lea
28c28df142 6868712: Improve concurrent queue tests
Fix all known flaky tests, plus minor maintenance

Reviewed-by: martin, chegar
2009-08-25 19:19:42 -07:00
Doug Lea
f1047d3739 6871697: LinkedBlockingQueue Iterator/remove/poll race
More checks for node.next == node

Reviewed-by: martin, dholmes, chegar
2009-08-25 19:19:42 -07:00
Weijun Wang
50754f7c2e 6868864: Kerberos tests fail under windows/cygwin
Reviewed-by: wetmore
2009-08-26 12:17:29 +08:00
Joe Darcy
a6f341dfc9 6875861: javadoc build warning on java.util.Properites from unconventional @see ordering
Reviewed-by: martin
2009-08-25 18:58:26 -07:00
Joe Darcy
47307bdb89 6872011: Update printing processor to support JSR 308
Reviewed-by: jjg
2009-08-25 16:41:32 -07:00
Xueming Shen
71cf18b3e2 4963968: zlib should be upgraded to current version of zlib
Upgrade zlib to the latest ver 1.2.3

Reviewed-by: martin, alanb, ksrini
2009-08-25 15:14:53 -07:00
Vladimir Kozlov
15d404c6c6 Merge 2009-08-25 13:08:40 -07:00
Tim Bell
f880550336 Merge 2009-08-24 22:39:34 -07:00
Tim Bell
44055d286a Merge 2009-08-24 22:28:37 -07:00
Tim Bell
7e71cce8a2 Merge 2009-08-24 22:27:30 -07:00
Tom Rodriguez
9966801c6c 6875329: fix for 6795465 broke exception handler cloning
Reviewed-by: kvn
2009-08-24 22:26:15 -07:00
Xiomara Jayasena
c7d5b04751 Merge 2009-08-24 17:26:09 -07:00
Xiomara Jayasena
8e4213dda2 Merge 2009-08-24 17:25:50 -07:00
Jonathan Gibbons
b91de4eb6a 6869216: testgetallmembers should consistently use correct filemanager
Reviewed-by: darcy
2009-08-24 14:38:42 -07:00
Vladimir Kozlov
2a362d8b87 6873800: enable compressed oops by default
Enable compressed oops by default

Reviewed-by: never, ysr
2009-08-24 11:13:46 -07:00
Vinnie Ryan
f249b36d72 6872048: bad private keys are generated for 2 specific ECC curves
Reviewed-by: wetmore
2009-08-24 18:37:37 +01:00
Mandy Chung
1478582041 Merge 2009-08-24 10:33:08 -07:00
Kelly O'Hair
1b8f98b70e 6853636: Fix warnings in jdwpgen, add jdwpgen NetBeans project
Reviewed-by: andrew, alanb, tbell, swamyv
2009-08-24 09:57:30 -07:00
Alexander Potochkin
343439d82f 6824395: Several Swing core components prevent using them in wrapper classes
Reviewed-by: peterz
2009-08-24 19:22:38 +04:00
Pavel Porvatov
5e92ec1716 6849266: closed/javax/swing/JFileChooser/6484091/bug6484091.java fails on solaris 10 sparc
Reviewed-by: peterz
2009-08-24 18:21:47 +04:00
Weijun Wang
e936496a7b 6875033: regression: test of 6867665 fail
Reviewed-by: xuelei
2009-08-24 18:37:48 +08:00
Alan Bateman
491fdce2fd Merge 2009-08-23 17:20:46 +01:00
Alan Bateman
aecf7417ad 6842687: New I/O: Update Asynchronous I/O API to jsr203/nio2-b101
Reviewed-by: sherman
2009-08-23 12:53:45 +01:00
Alan Bateman
7fa9df60ce 6874521: Remove @note tags
Reviewed-by: andrew, darcy
2009-08-22 17:40:18 +01:00
Erik Trimble
13f64cfc51 Merge 2009-08-21 20:39:41 -07:00
Erik Trimble
3356fa9895 6873236: Fork HS16 to HS17 - renumber Major and build numbers of JVM
Update the Major and build numbers for HS17 fork

Reviewed-by: jcoomes
2009-08-21 20:38:36 -07:00
Erik Trimble
3b812e4892 Merge 2009-08-21 20:16:58 -07:00
Jonathan Gibbons
0ec5040633 6873845: refine access to symbol file
Reviewed-by: darcy
2009-08-21 14:58:21 -07:00
Tim Bell
edc02e3e92 6705913: freetype_versioncheck.exe - Unable To Locate Component
Update freetype_versioncheck to deal with newer Visual Studio releases

Reviewed-by: ohair
2009-08-21 12:12:48 -07:00
Joe Darcy
980873244b 6378701: (enum) Unclear purpose of EnumConstantNotPresentException
Reviewed-by: lancea, andrew, alanb
2009-08-21 11:31:18 -07:00
Jonathan Gibbons
bde1a2faf8 6873849: suppress notes generated by javac
Reviewed-by: darcy
2009-08-21 11:25:45 -07:00
Pavel Porvatov
afca155718 6579827: vista : JSlider on JColorchooser is not properly render or can't be seen completely
Reviewed-by: peterz
2009-08-21 16:59:27 +04:00
Yuri Nesterenko
0ee9dc7c6f Merge 2009-08-20 23:30:03 -07:00
Valerie Peng
fb19c4e1f9 6874407: Missing regression test for 6636650
Prevent classloader from resurrection

Reviewed-by: hawtin
2009-08-20 17:16:13 -07:00
Valerie Peng
3b237a13df 6636650: (cl) Resurrected ClassLoaders can still have children
Prevent classloader from resurrection

Reviewed-by: hawtin
2009-08-20 14:49:31 -07:00
Changpeng Fang
ff9a1bddb5 6873116: Modify reexecute implementation to use pcDesc to record the reexecute bit
Use PcDesc to keep record of the reexecute bit instead of using DebugInfoStreams

Reviewed-by: kvn, never, twisti
2009-08-20 12:42:57 -07:00
Xiomara Jayasena
792dd2427f Added tag jdk7-b70 for changeset b4c0c49979ff 2009-08-20 11:20:31 -07:00
Xiomara Jayasena
74fd6ac482 Added tag jdk7-b70 for changeset 510668ab2f32 2009-08-20 11:20:21 -07:00
Xiomara Jayasena
0c2b4cd183 Added tag jdk7-b70 for changeset c311084b506d 2009-08-20 11:20:15 -07:00
Xiomara Jayasena
0d0c940c99 Added tag jdk7-b70 for changeset 102c6671e1cf 2009-08-20 11:20:13 -07:00
Xiomara Jayasena
8d3b392ec7 Added tag jdk7-b70 for changeset 0caafb54c87f 2009-08-20 11:20:09 -07:00
Xiomara Jayasena
e0f2ac7318 Added tag jdk7-b70 for changeset e77e0b46683d 2009-08-20 11:20:05 -07:00
Xiomara Jayasena
5f8e711a97 Added tag jdk7-b70 for changeset d36024aecf97 2009-08-20 11:20:04 -07:00
Dmitry Cherepanov
2513311062 6664512: Component and [Default]KeyboardFocusManager pass security sensitive objects to loggers
ToString is called on security sensitive objects

Reviewed-by: art, hawtin
2009-08-20 12:46:43 +04:00
Alan Bateman
b458f8ca65 6866804: (file) Path calls checkPermission insteadof checkXXX (sol)
Reviewed-by: sherman
2009-08-20 08:48:29 +01:00
Alan Bateman
97e10327ed 6870926: (file) Path.toRealPath performance can be improved (win)
Reviewed-by: sherman
2009-08-20 08:42:38 +01:00
Alan Bateman
41a783f149 6595866: File does work with symbolic links (win,vista)
Reviewed-by: sherman
2009-08-20 08:39:18 +01:00
Weijun Wang
7c86823f01 6867665: Problem with keytabs with multiple kvno's (key versions)
Reviewed-by: valeriep, ohair
2009-08-20 11:24:42 +08:00
Vladimir Kozlov
15b6cdf897 6873799: enable escape analysis by default
Enable escape analysis by default

Reviewed-by: never
2009-08-19 19:05:18 -07:00
Tom Rodriguez
0217f432c2 6873777: FPU control word optimization still performed with SSE
Reviewed-by: kvn
2009-08-19 18:54:35 -07:00
Andrew John Hughes
310e07492f 6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk javac
The bootstrap javac currently uses the default source and targets of the boot javac

Reviewed-by: jjg, ohair
2009-08-20 01:28:58 +01:00
Joe Darcy
54aaa7ae7a 6871291: Please clarify javax.tools.JavaCompiler.getTask() "classes" parameter
Reviewed-by: jjg
2009-08-19 17:12:36 -07:00
Andrei Pangin
6d98918342 Merge 2009-08-19 15:46:22 -07:00
Andrew John Hughes
5c818e4b6a 6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk
Set source and target explicitly in pcompile task

Reviewed-by: jjg
2009-08-19 20:44:22 +01:00
Alexander Potochkin
68a69bc334 6872492: JLayer sources contain wrong header
Reviewed-by: rupashka
2009-08-19 17:24:22 +04:00
Yuri Nesterenko
4c2a46386f Merge 2009-08-18 23:40:15 -07:00
Xue-Lei Andrew Fan
c14324faa5 6861062: Disable MD2 support
Reviewed-by: mullan, weijun
2009-08-18 20:47:13 -07:00
Xiomara Jayasena
0fcf19433e Merge 2009-08-18 19:53:43 -07:00
Tim Bell
79d9a6bd20 Merge 2009-08-18 17:46:58 -07:00
Tim Bell
7cf8652f4d Merge 2009-08-18 17:45:46 -07:00
Abhijit Saha
fad0f2d2f6 Merge 2009-08-18 16:53:23 -07:00
Tim Bell
d0acfd8b31 6873200: patch.out and jaxws.patch do not belong in jaxws repository
Reviewed-by: xdono, ohair
2009-08-18 16:15:37 -07:00
Andrew John Hughes
85c26d2c57 6873059: Explicitly use -source 6 -target 6 when compiling with the boot jdk javac
The bootstrap javac currently uses the default source and targets of the boot javac

Reviewed-by: ohair
2009-08-18 19:50:12 +01:00
Weijun Wang
94bafe8b8f 6864911: ASN.1/DER input stream parser needs more work
Reviewed-by: mullan, xuelei
2009-08-18 12:10:12 +08:00
Weijun Wang
afe6e91726 6829785: TextCallbackHandler does not honor PasswordCallback.isEchoOn()
Reviewed-by: mullan
2009-08-18 10:20:50 +08:00
Andrei Pangin
ab4b4a6433 Merge 2009-08-17 15:03:39 -07:00
Tom Rodriguez
cc01c0f4f6 6795465: Crash in assembler_sparc.cpp with client compiler on solaris-sparc
Reviewed-by: twisti, cfang
2009-08-17 14:45:02 -07:00
Changpeng Fang
05c34e93bd 6866651: Regression: simple int sum crashes jvm (build 1.6.0_14-b08 and 1.7.0-ea-b59)
Delay dead code elimination in set_req_X to make it safe

Reviewed-by: kvn, never
2009-08-17 12:11:06 -07:00
Changpeng Fang
f6f2d510b9 6829127: Deoptimization Failure on Specjvm98 _227_mtrt with -XX:+DeoptimizeALot since Hs11 b01
Make sure the control word is correct in deopt_blob after restore_result_registers

Reviewed-by: kvn, never
2009-08-17 09:48:02 -07:00
Tom Rodriguez
61d82b75be Merge 2009-08-14 22:11:18 -07:00
Bradford Wetmore
8a4dd6d425 6872177: JCE framework and provider builds broken following -target 7 changes
Reviewed-by: ohair
2009-08-14 17:29:31 -07:00
Erik Trimble
343d7a9ab6 Merge 2009-08-14 17:14:07 -07:00
Tom Rodriguez
7d0158d27f Merge 2009-08-14 15:55:26 -07:00
Tom Rodriguez
398fffa232 6862863: C2 compiler fails in elide_copy()
Reviewed-by: kvn
2009-08-14 15:53:46 -07:00
Xueming Shen
efe409bf8b 6730652: CharsetEncoder.canEncode(char) returns incorrect values for some charsets
Override the canEncode() in ISO2022_CN_CNS

Reviewed-by: martin
2009-08-14 14:29:45 -07:00
Phil Race
e674d62725 6867603: sun.font.FontManager.getDefaultPlatformFont throws NPE in OpenJDK on Solaris 10 10/08
Reviewed-by: igor, jgodinez
2009-08-14 14:25:22 -07:00
Andrey Petrusenko
ead860c069 6872000: G1: compilation fails on linux/older gcc
Reviewed-by: jcoomes, tonyp
2009-08-14 13:44:15 -07:00
Vladimir Kozlov
6f927f1578 6869822: assert(Universe::narrow_oop_shift() == 0,"use unscaled narrow oop")
Replace the assert with narrow_oop_shift set to 0.

Reviewed-by: never, jcoomes
2009-08-14 12:23:11 -07:00
Xueming Shen
94d23c375f 6866397: (file) PathMatcher with regex syntax doesn't match as expected (win)
Use unicode_case_insensitive for windows path matcher for now.

Reviewed-by: alanb
2009-08-14 11:23:01 -07:00
Tim Bell
7856101004 Merge 2009-08-14 08:53:23 -07:00
Tim Bell
30d9505bc1 Merge 2009-08-14 08:51:56 -07:00
Tim Bell
872af9f8c7 Merge 2009-08-14 08:51:25 -07:00
Tim Bell
6d0a5e031b Merge 2009-08-14 08:50:54 -07:00
Tim Bell
65e1007b58 Merge 2009-08-14 08:50:00 -07:00
Tim Bell
6667edcb0b Merge 2009-08-14 08:49:25 -07:00
Tim Bell
b50d693f59 Merge 2009-08-14 08:49:04 -07:00
Pavel Porvatov
5fe3a9d7b6 6824600: OOM occurs when setLookAndFeel() is executed in Windows L&F(XP style)
Reviewed-by: alexp
2009-08-14 13:18:10 +04:00
Tom Rodriguez
c94a076d34 6862956: PhaseIdealLoop should have a CFG verification mode
Reviewed-by: kvn, twisti
2009-08-14 00:02:12 -07:00
Erik Trimble
3d20d74ae0 Merge 2009-08-13 17:59:05 -07:00
Erik Trimble
68e4dd4816 6871765: Bump the HS16 build number to 08
Update the HS16 build number to 08

Reviewed-by: jcoomes
2009-08-13 17:47:43 -07:00
Xueming Shen
04185fd4b8 Merge 2009-08-13 15:12:32 -07:00
Xueming Shen
fcfe031b58 6676423: (prefs) Opensource unit/regression tests for java.util.prefs
Moved the existing test cases for prefs to open area

Reviewed-by: martin, alanb
2009-08-13 15:01:18 -07:00
Bradford Wetmore
84ef08a85a Merge 2009-08-13 12:37:47 -07:00
Bradford Wetmore
e35a79a518 6870335: Provider numbers need to be bumped to 1.7
Reviewed-by: mullan
2009-08-13 12:36:10 -07:00
Xiomara Jayasena
ab474107c0 Added tag jdk7-b69 for changeset 2556d2c42271 2009-08-13 12:11:32 -07:00
Xiomara Jayasena
5fcd775286 Added tag jdk7-b69 for changeset e0b23259a484 2009-08-13 12:11:21 -07:00
Xiomara Jayasena
0f356feefb Added tag jdk7-b69 for changeset acd82ea7ff8d 2009-08-13 12:11:14 -07:00
Xiomara Jayasena
798e9abf97 Added tag jdk7-b69 for changeset 803bf611f5c9 2009-08-13 12:11:12 -07:00
Xiomara Jayasena
6c9a7e8afe Added tag jdk7-b69 for changeset 93c79b9962dd 2009-08-13 12:11:07 -07:00
Xiomara Jayasena
7918093df4 Added tag jdk7-b69 for changeset 3b0aa8182028 2009-08-13 12:11:03 -07:00
Xiomara Jayasena
0ce3618e91 Added tag jdk7-b69 for changeset f6b28dd0120d 2009-08-13 12:11:02 -07:00
Xueming Shen
dfa68f9504 6840246: Lightweight implementation of String.split for simple use case
Added a fastpath for simple use case

Reviewed-by: alanb, martin
2009-08-13 10:50:23 -07:00
John Coomes
1a11be46ca 6867645: java -Xshare:dump failed - read only space too small
Reviewed-by: iveresov, tonyp, ysr
2009-08-12 14:27:54 -07:00
Jonathan Gibbons
b81f0f8916 6558476: com/sun/tools/javac/Main.compile don't release file handles on return
Reviewed-by: darcy
2009-08-12 10:34:13 -07:00
Roman Kennke
afb1868fc4 6870238: Font2DTest fails on Debian after FontManager refactoring
Use fontManager field instead of querying the FontManagerFactory

Reviewed-by: igor, prr
2009-08-12 17:21:08 +02:00
Jonathan Gibbons
b95303097d 6758471: should be able to set jtreg options in langtools build
Reviewed-by: mcimadamore
2009-08-12 07:54:30 -07:00
Jonathan Gibbons
d029eaeb57 6870706: langtools launcher issues
Reviewed-by: mcimadamore
2009-08-12 07:14:02 -07:00
Yuri Nesterenko
093ffa46b3 Merge 2009-08-12 00:33:32 -07:00
Yuri Nesterenko
3ee6a85bc7 Merge 2009-08-12 00:32:35 -07:00
John Coomes
1a7648b1c2 6866585: debug code in ciObjectFactory too slow for large objects
Reviewed-by: ysr, never, kvn
2009-08-11 23:24:41 -07:00
Daniel D. Daugherty
d9b6a2252e Merge 2009-08-11 20:06:52 -06:00
Daniel D. Daugherty
def4483570 6870298: 4/4 fix minor typos in java/lang/instrument/Instrumentation.java
Fix typos in the JavaDoc.

Reviewed-by: tbell
2009-08-11 20:02:43 -06:00
Jonathan Gibbons
46c42f2362 6870743: update comments in langtools/make/build.properties
Reviewed-by: darcy
2009-08-11 18:35:05 -07:00
Jonathan Gibbons
da2b8ebcd0 6870591: langtools build sets javac.bootclasspath incorrectly
Reviewed-by: ohair
2009-08-11 14:05:32 -07:00
Daniel D. Daugherty
aca1d9534f 6862945: 4/3 conversion of jmethodID to methodOop in JVMTI is too expensive
Refactor JNIHandles::checked_resolve_jmethod_id() into fast and paranoid parts.

Reviewed-by: never, alanb
2009-08-11 11:57:51 -06:00
Vinnie Ryan
54b3f1068d Merge 2009-08-11 17:01:07 +01:00
Vinnie Ryan
3ed22e2e7a Merge 2009-08-11 16:57:09 +01:00
Vinnie Ryan
59d983ade0 6840752: Provide out-of-the-box support for ECC algorithms
Reviewed-by: alanb, mullan, wetmore
2009-08-11 16:52:26 +01:00
Abhijit Saha
4c1bad113e Merge 2009-08-11 08:22:46 -07:00
Abhijit Saha
4721c15d98 Merge 2009-08-11 08:22:09 -07:00
Alan Bateman
a3af9140c9 6865748: (file) SimpleFileVisitor methods ignore null arguments
Reviewed-by: sherman
2009-08-11 12:49:16 +01:00
Alan Bateman
c583b690e3 6867781: (file) Examples in javadoc use newFileAttributeView instead of getFileAttributeView
Reviewed-by: sherman
2009-08-11 12:38:43 +01:00
Alan Bateman
90b1aee142 4516760: (so) Intermittent SocketException: Transport endpoint is not connected (lnx)
Reviewed-by: sherman
2009-08-11 12:37:02 +01:00
Xue-Lei Andrew Fan
3db64bc897 6585239: Regression: 2 DNS tests fail with JDK 5.0u13 b01 and pass with 5.0u12fcs
Reviewed-by: vinnie
2009-08-11 18:27:01 +08:00
Weijun Wang
aa514761f5 6868867: Test: sun/security/tools/keytool/standard.sh fails under windows/cygwin
Reviewed-by: wetmore
2009-08-11 15:36:52 +08:00
Weijun Wang
be3a1f1294 6821190: more InquireType values for ExtendedGSSContext
Reviewed-by: valeriep
2009-08-11 12:20:32 +08:00
Weijun Wang
50689ce536 6710360: export Kerberos session key to applications
Reviewed-by: valeriep
2009-08-11 12:17:13 +08:00
Weijun Wang
cb2742d7b2 6866479: libzip.so caused JVM to crash when running jarsigner
Reviewed-by: mullan
2009-08-11 12:15:24 +08:00
Maurizio Cimadamore
b2f97fc341 6199153: Generic throws and overriding
Javac incorrectly rejects an uchecked overriding

Reviewed-by: jjg
2009-08-11 01:14:31 +01:00
Maurizio Cimadamore
d8292cad05 6569404: Cannot instantiate an inner class of a type variable
Javac is too strict in rejecting member selction from a type-var

Reviewed-by: jjg
2009-08-11 01:14:06 +01:00
Maurizio Cimadamore
b097f12a5d 6869075: regression: javac crashes when compiling compound string assignment with generics
Javac should not add syntehtic cast to the LHS of an assignment expression

Reviewed-by: jjg
2009-08-11 01:13:42 +01:00
Maurizio Cimadamore
a11cd67b7c 6521805: Regression: JDK5/JDK6 javac allows write access to outer class reference
Javac should warn/complain about identifiers with the same name as synthetic symbol

Reviewed-by: jjg
2009-08-11 01:13:14 +01:00
Maurizio Cimadamore
b466a2fcc9 6840059: regression: javac silently crashes when resolving erroneous anonymous inner constructor
Resolved an internal crash with constructor resolution

Reviewed-by: jjg
2009-08-11 01:12:40 +01:00
Maurizio Cimadamore
578138abeb 6390045: Unexpected error "cannot access java.lang.Void" with '-target cldc1.0' with -source >=1.5
Javac needs to synthetize a fake java.lang.Void symbol if one is not given on the classpath

Reviewed-by: jjg
2009-08-11 01:12:13 +01:00
Maurizio Cimadamore
ac4b216060 6806876: ClassCastException occurs in assignment expressions without any heap pollutions
Intersection types should be considered as non-reifiable by javac

Reviewed-by: jjg
2009-08-11 01:11:37 +01:00
Abhijit Saha
06dc51ad43 Merge 2009-08-10 10:52:51 -07:00
Abhijit Saha
5ed12881c7 Merge 2009-08-10 10:52:39 -07:00
Abhijit Saha
301d96b277 Merge 2009-08-10 10:52:11 -07:00
Abhijit Saha
7b9b3e0723 Merge 2009-08-10 10:50:14 -07:00
Abhijit Saha
fa5bf6c037 Merge 2009-08-10 10:49:32 -07:00
Abhijit Saha
1778e5915b Merge 2009-08-10 09:47:21 -07:00
Abhijit Saha
b9bb7ed20f Merge 2009-08-10 09:36:40 -07:00
Alexander Potochkin
3f2aa03af7 6822696: Integrating JXLayer component to Swing library
Reviewed-by: peterz, art
2009-08-10 16:29:30 +04:00
Pavel Porvatov
aedd67d988 6461173: One JCK test([NewFolderAction0001]) failed on Windows due to lack of PropertyPermission(s)
Reviewed-by: peterz, malenkov
2009-08-10 14:55:10 +04:00
Y. Srinivas Ramakrishna
7a1d233375 Merge 2009-08-09 17:03:51 -07:00
Jonathan Gibbons
7d420d30b9 6868539: javap should use current names for constant pool tags
Reviewed-by: ksrini
2009-08-08 17:56:37 -07:00
Jonathan Gibbons
c28b62e1d5 6868548: remove spurious ';' from after constant pool entries
Reviewed-by: ksrini
2009-08-08 17:50:57 -07:00
Abhijit Saha
7d8f9efba6 6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14
Reviewed-by: darcy, ramap
2009-08-07 11:32:20 -07:00
Abhijit Saha
02d508cbf2 6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14
Reviewed-by: darcy, ramap
2009-08-07 11:32:04 -07:00
Abhijit Saha
354661db00 6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14
Reviewed-by: darcy, ramap
2009-08-07 11:31:46 -07:00
Abhijit Saha
cbc42a9c38 6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14
Reviewed-by: darcy, ramap
2009-08-07 11:31:42 -07:00
Abhijit Saha
f8a396b166 6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14
Reviewed-by: darcy, ramap
2009-08-07 11:31:35 -07:00
Abhijit Saha
452d4d3f20 6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14
Reviewed-by: darcy, ramap
2009-08-07 11:31:24 -07:00
Abhijit Saha
1d2b6d72b2 6813167: 6u14 JAX-WS audit mutable static bugs
6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14

Reviewed-by: darcy, ramap
2009-08-07 11:27:00 -07:00
Roman Kennke
db5938b208 6869705: Missing files of CR6795908, FontManager refactoring
Reviewed-by: prr, igor
2009-08-07 19:36:28 +02:00
Andrew John Hughes
9a5d0532c5 6869697: Missing entry in makefiles for java/lang/ReflectiveOperationException.java
Add new dependency explicitly so all compilers pick it up

Reviewed-by: darcy, ohair
2009-08-07 18:15:03 +01:00
Roman Kennke
eb12553aa3 6795908: Refactor FontManager
Reviewed-by: prr, igor
2009-08-07 18:31:11 +02:00
Abhijit Saha
658feaa3e4 Merge 2009-08-07 09:21:25 -07:00
Sergey Malenkov
24fdb8e4be 6868189: Nested enum class with custom BeanInfo fails
Reviewed-by: peterz
2009-08-07 19:06:56 +04:00
Chris Hegarty
aca1227406 6826801: JarFileFactory should not use HashMap<URL>
Replace URL with a String representation.

Reviewed-by: michaelm, jccollet
2009-08-07 10:51:25 +01:00
Chris Hegarty
75379fe244 6826780: URLClassPath should use HashMap<String, XXX> instead of HashMap<URL, XXX>
Replace URL with a String representation.

Reviewed-by: michaelm, jccollet
2009-08-07 10:50:26 +01:00
Yuri Nesterenko
fbec558c0b Merge 2009-08-07 02:20:58 -07:00
Abhijit Saha
7ebb690ec3 Merge 2009-08-06 22:37:58 -07:00
Abhijit Saha
774e4684d2 Merge 2009-08-06 22:37:28 -07:00
Tim Bell
fdab284b8a Merge 2009-08-06 20:24:08 -07:00
Jonathan Gibbons
d78b7fcc9b 6858429: javap classfile library a minor bug
Reviewed-by: ksrini
2009-08-06 19:35:41 -07:00
Tim Bell
d550e02d46 Merge 2009-08-06 19:03:42 -07:00
Tim Bell
f98b97ffea Merge 2009-08-06 19:01:59 -07:00
John R Rose
d8b50037de 6838598: Legal notice repair: jdk/src/share/classes/sun/dyn/FilterGeneric.java
Reviewed-by: xdono
2009-08-06 18:30:33 -07:00
Bradford Wetmore
fc188b8b29 6867657: Many JSN tests do not run under cygwin
Reviewed-by: ohair
2009-08-06 17:56:59 -07:00
Mandy Chung
fb688547c4 6864028: Update the java launcher to use the new entry point JVM_FindClassFromBootLoader
Update the java launcher to use the new entry point JVM_FindClassFromBootLoader

Reviewed-by: ksrini
2009-08-06 16:35:24 -07:00
John R Rose
09a4ee51c2 Merge 2009-08-06 16:15:16 -07:00
John R Rose
383f39ffa1 6868487: EnableInvokeDynamic and EnableMethodHandles should not be visible flags in JDK6 or JDK7
Switch them from product to experimental; 6817525 will toggle them and switch to diagnostic

Reviewed-by: kvn
2009-08-06 14:28:54 -07:00
Tom Rodriguez
90e6599f47 6868051: (SA) FreeChunk support for compressed oops is broken
Reviewed-by: kvn, dcubed
2009-08-06 12:24:41 -07:00
Mandy Chung
0f923041b9 4917309: (cl) Reduce internal usage of ClassNotFoundExceptions during class-loading
Change findBootstrapClass to return null instead of throwing CNFE if class not found

Reviewed-by: alanb, dholmes, iris
2009-08-06 11:25:12 -07:00
Vladimir Kozlov
ab7a29cdcc Merge 2009-08-06 09:37:26 -07:00
Lillian Angel
872d3ebfc7 6593649: Word wrap broken for JTextArea
Layout correctly resizes components based on actual dimensions of the window they are in.

Reviewed-by: gsm
2009-08-06 16:04:47 +01:00
Yuri Nesterenko
3338c4f11b Merge 2009-08-06 01:12:35 -07:00
Y. Srinivas Ramakrishna
1121581e07 6868991: JPRT: elide GCBasher_G1 test on winx64 until 6867250 is resolved
JPRT: elide GCBasher_G1 test on winx64 until 6867250 is resolved

Reviewed-by: jcoomes
2009-08-05 18:54:12 -07:00
Abhijit Saha
afe5efd931 Merge 2009-08-05 14:16:34 -07:00
John Coomes
3474b7fa5b 6821693: 64-bit TaskQueue capacity still too small
6821507: Alignment problem in GC taskqueue

Reviewed-by: tonyp, apetrusenko
2009-08-05 12:33:29 -07:00
Daniel D. Daugherty
8790c489e1 6868533: 3/4 JDI: remove '-source 1.5' and '-target 1.5' options from com.sun.jdi tests
We are long past needing to make sure these tests can build on Tiger/JDK1.5.0.

Reviewed-by: tbell
2009-08-05 13:17:30 -06:00
Jonathan Gibbons
9e26dc467b 6729471: javap should accept class files on the command line
Reviewed-by: mcimadamore
2009-08-05 08:38:18 -07:00
Jonathan Gibbons
ea9763ee24 6868553: 6867671 breaks some tests
Reviewed-by: mcimadamore
2009-08-05 07:43:50 -07:00
Changpeng Fang
3e7e112ee5 6868269: CompileTheWorld assertion failure introduced by the reexecute bit implementation
Improvement on reexecute implementation to fix the assertion failure

Reviewed-by: kvn, never
2009-08-04 21:32:08 -07:00
Martin Buchholz
31e53b285c 6856590: (process) Use RESTARTABLE in UNIXProcess_md.c
Wrap all system calls with RESTARTABLE

Reviewed-by: michaelm
2009-08-04 19:18:15 -07:00
Martin Buchholz
c857f977c3 6868160: (process) Use vfork, not fork, on Linux to avoid swap exhaustion
Boldly go where no jdk has dared go before

Reviewed-by: michaelm
2009-08-04 19:18:15 -07:00
Jonathan Gibbons
22c0a5cddf 6867671: javap whitespace formatting issues
Reviewed-by: mcimadamore
2009-08-04 17:26:41 -07:00
Roman Kennke
63e666407c 6829673: ThinLineTest: A line < 1 pixel disappears
Reviewed-by: igor, prr
2009-08-04 17:25:36 -07:00
Vladimir Kozlov
adcbcc3cdc 6868486: timouts and outOfMemory in regression tests
Increase timeout for tests and heap size for 6851282 test.

Reviewed-by: never, cfang
2009-08-04 17:11:17 -07:00
John Cuthbertson
f1cbffdd3e 6819077: G1: first GC thread coming late into the GC
The first worker thread is delayed when entering the GC because it clears the card count table that is used in identifying hot cards. Replace the card count table with a dynamically sized evicting hash table that includes an epoch based counter.

Reviewed-by: iveresov, tonyp
2009-08-04 16:00:17 -07:00
Xueming Shen
6dfe09a9a6 4116222: Errors in Arabic code-conversion tables, part II
Updated the IBM420 datatable

Reviewed-by: alanb
2009-08-04 12:44:03 -07:00
Abhijit Saha
8c4325e8f4 Merge 2009-08-04 08:01:03 -07:00
John Cuthbertson
36917caf5e 6865703: G1: Parallelize hot card cache cleanup
Have the GC worker threads clear the hot card cache in parallel by having each worker thread claim a chunk of the card cache and process the cards in that chunk. The size of the chunks that each thread will claim is determined at VM initialization from the size of the card cache and the number of worker threads.

Reviewed-by: jmasa, tonyp
2009-08-03 12:59:30 -07:00
Abhijit Saha
9d6744c9fe Merge 2009-08-03 12:20:04 -07:00
Sergey Groznyh
82eb86f2be 6539700: JTextPane line wrap radically different from previous versions in jre 1.5.0_10+
Reviewed-by: peterz
2009-08-03 19:22:02 +04:00
Jon Masamitsu
73392a7312 Merge 2009-08-02 22:33:27 -07:00
Jon Masamitsu
bd1c93a58e 6843292: "Expect to be beyond new region unless impacting another region" assertion too strong
In the assertion allow for collision with the guard page.

Reviewed-by: tonyp, ysr, jcoomes
2009-08-02 19:10:31 -07:00
Jon Masamitsu
d9b7798319 6862534: -XX:NewRatio completely ignored when combined with -XX:+UseConcMarkSweepG
Use NewRatio if it is explicitly set.

Reviewed-by: ysr, jcoomes
2009-08-02 18:44:36 -07:00
Tim Bell
2f8af77fdb Merge 2009-08-02 10:07:06 -07:00
Weijun Wang
3fef36803a 6867687: keytool's standard.sh test timeout sometimes
Reviewed-by: xuelei
2009-08-02 13:40:03 +08:00
Tim Bell
2437247a8d Merge 2009-07-31 17:20:06 -07:00
Tim Bell
6b6386f999 Merge 2009-07-31 17:19:38 -07:00
Changpeng Fang
ae00753bf7 6833129: specjvm98 fails with NullPointerException in the compiler with -XX:DeoptimizeALot
Developed a reexecute logic for the interpreter to reexecute the bytecode when deopt happens

Reviewed-by: kvn, never, jrose, twisti
2009-07-31 17:12:33 -07:00
Vladimir Kozlov
f2ea22a547 6865031: Application gives bad result (throws bad exception) with compressed oops
Produce narrow type for new Phi from the original Phi type.

Reviewed-by: cfang
2009-07-31 12:04:07 -07:00
Alan Bateman
68c91249fb Merge 2009-07-31 19:23:10 +01:00
Y. Srinivas Ramakrishna
968de64586 Merge 2009-07-31 10:41:29 -07:00
Alexey Utkin
426d2a0ee7 6851688: Hung up in applet application
Reviewed-by: art, dcherepanov
2009-07-31 17:24:27 +04:00
Sergey Malenkov
099a44dbf8 6865565: Test failed: /test/closed/javax/swing/JInternalFrame/6325652/bug6325652.java
Reviewed-by: peterz
2009-07-31 16:27:35 +04:00
Weijun Wang
bdafe7ca74 6867231: Regression: jdk/test/sun/security/krb5/ConfPlusProp.java error against jdk7/pit/b68
Reviewed-by: xuelei
2009-07-31 16:21:30 +08:00
Alan Bateman
6538a1bcf9 6867244: Tests missing @run tag
Reviewed-by: sherman
2009-07-31 08:45:30 +01:00
Alan Bateman
08f07d0f8a 6867101: Path.checkAccess fails with sharing violation on special files such as pagefile.sys
Reviewed-by: sherman
2009-07-31 08:44:28 +01:00
Vladimir Kozlov
9f97cf13e8 6864914: SPECjvm2008 produces invalid result with zero based Compressed Oops
Always use "lea" instruction for narrow oop decoding instead of "shift".

Reviewed-by: never
2009-07-30 16:05:56 -07:00
Antonios Printezis
243367ec16 6819085: G1: use larger and/or user settable region size
Instead of the region size being hard-coded, allow the user to set it.

Reviewed-by: jmasa, johnc, apetrusenko
2009-07-30 16:22:58 -04:00
Y. Srinivas Ramakrishna
c6763b5bad 4957990: Perm heap bloat in JVM
Treat ProfileData in MDO's as a source of weak, not strong, roots. Fixes the bug for stop-world collection -- the case of concurrent collection will be fixed separately.

Reviewed-by: jcoomes, jmasa, kvn, never
2009-09-02 00:04:29 -07:00
Andrey Petrusenko
2491751525 6841313: G1: dirty cards of survivor regions in parallel
Reviewed-by: tonyp, iveresov
2009-08-31 05:27:29 -07:00
John Coomes
e7c70c499b 6845368: large objects cause a crash or unexpected exception
Reviewed-by: jmasa, iveresov
2009-08-13 16:22:45 -07:00
John Coomes
662adda5e6 6861660: OopMapBlock count/size confusion
Reviewed-by: tonyp, iveresov
2009-08-11 15:37:23 -07:00
Antonios Printezis
6a97a03610 Merge 2009-08-24 13:52:42 -07:00
Jon Masamitsu
20a43bad21 6798898: CMS: bugs related to class unloading
Override should_remember_klasses() and remember_klass() as needed.

Reviewed-by: ysr, jcoomes
2009-08-24 10:36:31 -07:00
Antonios Printezis
4d138cd094 6871111: G1: remove the concurrent overhead tracker
Removing the concurrent overhead tracker from G1, along with the GC overhead reporter and the G1AccountConcurrentOverhead (both of which rely on the the concurrent overhead tracker).

Reviewed-by: iveresov, johnc
2009-08-19 12:53:25 -04:00
Jennifer Godinez
430c84f1ea Merge 2009-07-30 12:25:39 -07:00
Coleen Phillimore
76a4e2a8c1 Merge 2009-07-30 15:06:19 -04:00
Antonios Printezis
1d0a8b2945 6866591: G1: print update buffer processing stats more often
It adds parameter -XX:+G1SummarizeRSetStatsPeriod that causes update buffer processing information to be printed periodically. It also includes two small formatting changes.

Reviewed-by: jmasa, jcoomes, ysr
2009-07-30 14:50:58 -04:00
Jonathan Gibbons
24bbb68d38 4880672: javap does not output inner interfaces of an interface
Reviewed-by: mcimadamore
2009-07-30 09:18:55 -07:00
Jonathan Gibbons
219445d03a 6866657: add byteLength method to primary classfile types
Reviewed-by: mchung
2009-07-30 07:48:24 -07:00
Mahmood Ali
638db1aabb 6861837: JCK compilation failures
Type-annotations processing is accessing type info before they are available in MemberEnter

Reviewed-by: jjg
2009-07-30 10:30:34 +01:00
Maurizio Cimadamore
fe1aaa8154 6864382: NPE in the rich formatter when processing an unattributed type-variable
Unattributed type variable should not be accessed by the rich formatter when emitting where clauses

Reviewed-by: jjg
2009-07-30 10:30:24 +01:00
Maurizio Cimadamore
25497fcea7 6862608: rich diagnostic sometimes contain wrong type variable numbering
The rich formatter generates worng numbers for type-variables in where clauses

Reviewed-by: jjg
2009-07-30 10:30:10 +01:00
Maurizio Cimadamore
59b2cbc448 6827648: Extremely slow compilation time for visitor pattern code + generics
Javac unnecessarily recomputates type-substitutions multiple times

Reviewed-by: jjg
2009-07-30 10:29:53 +01:00
Yuka Kamiya
a74a7d0f30 6866243: Javadoc for java.lang.Character still refers to Unicode 4 instead of 5
Reviewed-by: okutsu
2009-07-30 14:45:04 +09:00
Martin Buchholz
2d83195be5 6866719: Rename execvpe to avoid symbol clash with glibc 2.10
Reviewed-by: darcy
2009-07-29 21:45:52 -07:00
Josh Bloch
827200b265 6804124: Replace "modified mergesort" in java.util.Arrays.sort with timsort
Easy port of timsort from android

Reviewed-by: martin
2009-07-29 14:24:19 -07:00
Martin Buchholz
36736be8ba 6866554: Misc. javadoc warnings
Reviewed-by: alanb
2009-07-29 13:56:15 -07:00
Jonathan Gibbons
54b80cfe2a 4777949: Javap Rewrite : Warn javap usage on package classes with simple name
Reviewed-by: mcimadamore
2009-07-29 13:26:26 -07:00
Xueming Shen
ba2db6a2db Merge 2009-07-29 11:19:14 -07:00
Antonios Printezis
5f7ed79e3c 6864886: G1: rename -XX parameters related to update buffers
Renaming a couple of update buffer-related parameters to make them more understandable and consistent.

Reviewed-by: iveresov, ysr
2009-07-29 11:01:26 -04:00
Doug Lea
d43e798981 6805775: LinkedBlockingQueue Nodes should unlink themselves before becoming garbage
6815766: LinkedBlockingQueue's iterator can return null if drainTo(c) executes concurrently

Faster, more correct. Use self-linking trick to avoid gc retention

Reviewed-by: martin, dholmes
2009-07-28 17:17:55 -07:00
Doug Lea
df5da31f55 6785442: ConcurrentLinkedQueue.remove() and poll() can both remove the same element
6493942: ConcurrentLinkedQueue.remove sometimes very slow

New algorithm for handling concurrent linked lists

Reviewed-by: martin
2009-07-28 13:24:52 -07:00
Daniel D. Daugherty
10e13deca1 Merge 2009-07-28 13:50:07 -06:00
Daniel D. Daugherty
40de9c5fcc 6862295: JDWP threadid changes during debugging session (leading to ingored breakpoints)
Correctly count full GC operations for framework collectors. Add ForceFullGCJVMTIEpilogues as a future work around if needed.

Reviewed-by: jcoomes, alanb, ysr
2009-07-28 13:35:00 -06:00
Jonathan Gibbons
66637352ac 6734068: Some variable length attributes set their size incorrectly
Reviewed-by: mcimadamore
2009-07-28 11:00:05 -07:00
Jonathan Gibbons
2655dbfaac 6855990: javap InstructionDetailWriter should support new 308 annotations attribute
Reviewed-by: mcimadamore
2009-07-28 10:36:25 -07:00
Christian Thalinger
6dd47535cd 6863155: Server compiler generates incorrect code (x86, long, bitshift, bitmask)
Code compiled with server compiler generates an incorrect result.

Reviewed-by: cfang, never, kvn
2009-07-28 09:02:30 +02:00
Abhijit Saha
0e8d2a916a Merge 2009-07-27 22:28:29 -07:00
Abhijit Saha
05f0b795a4 Merge 2009-07-27 22:25:13 -07:00
Coleen Phillimore
3e69a71772 Merge 2009-07-27 17:23:52 -04:00
Mandy Chung
3c30eafbb5 6864003: Modify JVM_FindClassFromBootLoader to return null if class not found
JVM_FindClassFromBootLoader returns null if class not found

Reviewed-by: acorn, alanb, dholmes
2009-07-27 09:06:22 -07:00
Christian Thalinger
714db48492 Merge 2009-07-27 06:15:29 -07:00
Vladimir Kozlov
2641db378b 6863420: os::javaTimeNanos() go backward on Solaris x86
Use new atomic long load method Atomic::load() to load max_hrtime.

Reviewed-by: never, ysr, johnc, phh, dcubed, acorn
2009-07-26 16:40:14 -07:00
Vladimir Kozlov
9387db9948 6851386: assert(b->find_node(def) < j,"uses must follow definitions")
Add additional check for a tight loop.

Reviewed-by: never
2009-07-26 12:59:41 -07:00
Tom Rodriguez
86034e0e20 6861984: solaris version of libsaproc.so should support SA_ALTROOT directly
Reviewed-by: kvn, twisti
2009-07-24 12:40:40 -07:00
Xueming Shen
2ce8e7fb86 Merge 2009-07-24 11:22:29 -07:00
Xueming Shen
e9b3362ace 5063507: (fmt) missing exception for "%#s" format specifier
Throw appropriate exception when necessary

Reviewed-by: alanb
2009-07-24 11:06:57 -07:00
Roman Kennke
1b3374bcce 6857358: Two testcases are failing in jdk7 b64 pit build with java.security.AccessControlException
Try to load GraphicsEnvironment with bootclassloader first, only then try app classloader.

Reviewed-by: prr, tdv, igor
2009-07-22 15:52:41 +02:00
Abhijit Saha
bde3f2ada5 Merge 2009-07-21 13:06:30 -07:00
Abhijit Saha
a5da46de60 Merge 2009-07-21 13:02:23 -07:00
Abhijit Saha
baffaa8b3e Merge 2009-07-21 11:32:00 -07:00
Christian Thalinger
6b849a12a0 6860920: serialize.cpp shouldn't use objArrayOopDesc::base_offset_in_bytes(T_BYTE)
Serialize.cpp currently uses objArrayOopDesc::base_offset_in_bytes(T_BYTE), which seems to be wrong.

Reviewed-by: coleenp, kvn
2009-07-20 08:20:00 -07:00
Vinnie Ryan
d12079f670 6657695: AbstractSaslImpl.logger is a static mutable (findbugs)
Reviewed-by: alanb
2009-07-17 20:43:53 +01:00
Vinnie Ryan
97bb9bff6f 6657619: DnsContext.debug is public static mutable (findbugs)
Reviewed-by: alanb
2009-07-17 20:29:41 +01:00
Poonam Bajaj
fea09e9cd0 6840305: Discrepancy in system memory details (when 4G or greater) reported by JVM and Windows OS
GlobalMemoryStatus() does not report correct memory usage when the system has more than 4gb of RAM. GlobalMemoryStatusEx() should be used in place of GlobalMemoryStatus().

Reviewed-by: kamg, coleenp
2009-07-16 18:21:40 -07:00
Abhijit Saha
11c8663522 Merge 2009-07-15 10:46:42 -07:00
Yuri Nesterenko
08c5418a0b Merge 2009-07-13 09:37:50 -07:00
Abhijit Saha
46899d3487 Merge 2009-07-13 08:05:13 -07:00
Abhijit Saha
df2fe68912 Merge 2009-07-08 14:27:10 -07:00
Abhijit Saha
f138786c7a Merge 2009-07-08 14:24:20 -07:00
Sean Mullan
e4502f3b6f 6858484: If an invalid HMAC XML Signature is validated, all subsequent valid HMAC signatures are invalid
Reviewed-by: asaha
2009-07-08 16:57:40 -04:00
Abhijit Saha
25a00f88d0 Merge 2009-07-06 11:42:37 -07:00
Abhijit Saha
74c57a988e Merge 2009-07-06 11:16:03 -07:00
Jennifer Godinez
4d69072a88 6848799: Reg-test java/awt/print/PageFormat/PageFormatFromAttributes.java fails on Rhel_5
Reviewed-by: tdv, prr
2009-07-01 12:07:55 -07:00
Abhijit Saha
1024df69d8 Merge 2009-07-01 09:59:16 -07:00
Abhijit Saha
4b3efaf3d1 Merge 2009-06-30 16:23:54 -07:00
Jeremy Manson
28d4ad46aa 6850957: Honor -XX:OnOutOfMemoryError when array size exceeds VM limit
Call report_java_out_of_memory("Requested array size exceeds VM limit")

Reviewed-by: tbell, dholmes, alanb, ysr
2009-06-29 14:42:12 -07:00
Mandy Chung
08f5aeffc1 6857194: Add hotspot perf counters to aid class loading performance measurement
Add new jvmstat counters to measure detailed class loading time

Reviewed-by: acorn, kamg
2009-07-10 11:10:00 -07:00
Abhijit Saha
95f53ce57b 6845701: Xerces2 Java XML library infinite loop with malformed XML input
Reviewed-by: hawtin
2009-06-22 13:56:30 -07:00
Kumar Srinivasan
d92c74443f 6830335: Java JAR Pack200 Decompression Integer Overflow Vulnerability
Fixes a potential vulnerability in the unpack200 logic, by adding extra checks, a back-port.

Reviewed-by: asaha
2009-06-22 07:23:20 -07:00
Sean Mullan
68d0756ea6 6824440: XML Signature HMAC issue
Reviewed-by: asaha
2009-06-23 13:54:36 -04:00
Abhijit Saha
6b90310fed 6656610: AccessibleResourceBundle.getContents exposes mutable static (findbugs)
Reviewed-by: hawtin
2009-06-22 13:36:37 -07:00
Abhijit Saha
d89108356d Merge 2009-06-18 22:53:54 -07:00
Abhijit Saha
f63a5c2e42 Merge 2009-06-18 22:45:16 -07:00
Sergey Malenkov
0681d1454c 6660049: Synth Region.uiToRegionMap/lowerCaseNameMap are mutable statics
Reviewed-by: hawtin
2009-06-18 14:08:07 +04:00
Abhijit Saha
9a130fd30d Merge 2009-06-17 13:12:42 -07:00
Abhijit Saha
d214e051c9 Merge 2009-06-12 12:26:20 -07:00
Abhijit Saha
b982198ede Merge 2009-06-12 10:54:48 -07:00
Alex Menkov
272f5e12f9 6777448: JDK13Services.getProviders creates instances with full privileges [hawtin, alexp]
Reviewed-by: hawtin, alexp
2009-05-13 14:32:33 +04:00
Alex Menkov
00b701feda 6738524: JDK13Services allows read access to system properties from untrusted code
Reviewed-by: hawtin
2009-05-13 14:32:14 +04:00
Alex Menkov
28848d3300 6657625: RmfFileReader/StandardMidiFileWriter.types are public mutable statics (findbugs)
Reviewed-by: hawtin
2009-05-13 13:52:52 +04:00
Chris Hegarty
ce7e28f3e6 6801071: Remote sites can compromise user privacy and possibly hijack web sessions
Reviewed-by: jccollet, hawtin
2009-05-12 16:32:34 +01:00
Andrew Brygin
813ad65e9a 6823373: [ZDI-CAN-460] Java Web Start JPEG header parsing needs more scruity
Reviewed-by: igor
2009-05-08 16:15:15 +04:00
Andrew Brygin
8fdb1d367a 6657133: Mutable statics in imageio plugins (findbugs)
Reviewed-by: prr
2009-05-08 15:57:33 +04:00
Andrew Brygin
10f62128a4 6656625: ImageReaderSpi.STANDARD_INPUT_TYPE/ImageWriterSpi.STANDARD_OUTPUT_TYPE are mutable static (findbugs)
Reviewed-by: prr
2009-05-08 15:38:21 +04:00
Abhijit Saha
2b871b4ad6 Merge 2009-05-07 13:18:12 -07:00
Eamonn McManus
ec41d4d0e9 6736293: OpenType checks can be bypassed through finalizer resurrection
Reviewed-by: hawtin
2009-05-07 10:44:45 +02:00
Artem Ananiev
f6e8569c85 6656586: Cursor.predefined is protected static mutable (findbugs)
Reviewed-by: hawtin, igor
2009-05-06 15:17:22 +04:00
Anthony Petrov
dfb6852a16 6818787: It is possible to reposition the security icon too far from the border of the window on X11
The constraints for the position of the icon are moved to the shared code

Reviewed-by: art, dcherepanov
2009-05-05 17:56:31 +04:00
Anthony Petrov
2453a64fc4 6805231: Security Warning Icon is missing in Windows 2000 Prof from Jdk build 6u12
The icon becomes layered only when the fading-out effect is being performed.

Reviewed-by: art, dcherepanov
2009-05-05 17:47:04 +04:00
Jean-Christophe Collet
b23fe07b43 6801497: Proxy is assumed to be immutable but is non-final
Cloned the proxy instance when necessary

Reviewed-by: chegar
2009-05-05 11:02:51 +02:00
Peter Zhelezniakov
d663bac931 6837293: Reapply fix for 6588003 to JDK7
Reviewed-by: alexp
2009-05-05 12:07:37 +04:00
Abhijit Saha
c3de9bf468 Merge 2009-04-29 11:43:19 -07:00
Sergey Malenkov
de6e2fb6e2 6777487: Encoder allows reading private variables with certain names
Reviewed-by: peterz
2009-04-29 20:55:13 +04:00
Sergey Malenkov
99c5ea5368 6660539: Introspector shares cache of mutable BeanInfo between AppContexts
Reviewed-by: peterz
2009-04-29 20:03:09 +04:00
8468 changed files with 302295 additions and 1122220 deletions

View File

@@ -1,3 +1,3 @@
^build/
^dist/
^nbproject/private/
/nbproject/private/

17
.hgtags
View File

@@ -43,3 +43,20 @@ d22867c5f1b295a0a2b3b4bc8999a2676f6e20c3 jdk7-b64
62109d1b9e7310f29ab51ca6f1d71b899c0ce6b0 jdk7-b66
eb24af1404aec8aa140c4cd4d13d2839b150dd41 jdk7-b67
bca2225b66d78c4bf4d9801f54cac7715a598650 jdk7-b68
1b662b1ed14eb4ae31d5138a36c433b13d941dc5 jdk7-b69
207f694795c448c17753eff1a2f50363106960c2 jdk7-b70
c5d39b6be65cba0effb5f466ea48fe43764d0e0c jdk7-b71
df4bcd06e1d0ab306efa5a44f24a409dc0c0c742 jdk7-b72
ce74bd35ce948d629a356e168797f44b593b1578 jdk7-b73
4e7661eaa211e186674f6cbefec4aef1144ac2a0 jdk7-b74
946518568340c4e511549318f19f47f06b7f5f9b jdk7-b75
09e0b33177af2b98a03c9ca19eedf61440bd1cf6 jdk7-b76
1d0121b741f029dc4b828e4b36ba6fda92907dd7 jdk7-b77
4061c66ba1af1a2e27c2c839ba887407dd3ce050 jdk7-b78
e9c98378f6b9256c0595ef2985ca5899f0c0e274 jdk7-b79
e6abd38682d237306d6c147c17538ec9e7f8e3a7 jdk7-b80
dcc938ac40cc45f1ef454d76020b5db5d943001c jdk7-b81
a30062be6d9ca1d48579826f870f85974300004e jdk7-b82
34c8199936a1682aa8587857f44cfaf37c2b6381 jdk7-b83
b1e55627a6980b9508854ed0c0f21d4f981b4494 jdk7-b84
b6f633a93ae0ec4555ff4bf756f5e2150c9bdede jdk7-b85

View File

@@ -43,3 +43,20 @@ e01380cd1de4ce048b87d059d238e5ab5e341947 jdk7-b65
6bad5e3fe50337d95b1416d744780d65bc570da6 jdk7-b66
c4523c6f82048f420bf0d57c4cd47976753b7d2c jdk7-b67
e1b972ff53cd58f825791f8ed9b2deffd16e768c jdk7-b68
82e6c820c51ac27882b77755d42efefdbf1dcda0 jdk7-b69
175cb3fe615998d1004c6d3fd96e6d2e86b6772d jdk7-b70
4c36e9853dda27bdac5ef4839a610509fbe31d34 jdk7-b71
0d7e03b426df27c21dcc44ffb9178eacd1b04f10 jdk7-b72
3ac6dcf7823205546fbbc3d4ea59f37358d0b0d4 jdk7-b73
2c88089b6e1c053597418099a14232182c387edc jdk7-b74
d1516b9f23954b29b8e76e6f4efc467c08c78133 jdk7-b75
c8b63075403d53a208104a8a6ea5072c1cb66aab jdk7-b76
1f17ca8353babb13f4908c1f87d11508232518c8 jdk7-b77
ab4ae8f4514693a9fe17ca2fec0239d8f8450d2c jdk7-b78
20aeeb51713990dbea6929a2e100a8bbf5df70d4 jdk7-b79
a3242906c7747b5d9bcc3d118c7c3c69aa40f4b7 jdk7-b80
8403096d1fe7ff5318df9708cfec84a3fd3e1cf9 jdk7-b81
e1176f86805fe07fd9fb9da065dc51b47712ce76 jdk7-b82
6880a3af9addb41541e80ebe8cde6f79ec402a58 jdk7-b83
2f3ea057d1ad56cf3b269cdc4de2741411151982 jdk7-b84
cf26288a114be67c39f2758959ce50b60f5ae330 jdk7-b85

View File

@@ -51,7 +51,7 @@ endif
# For start and finish echo lines
TITLE_TEXT = Control $(PLATFORM) $(ARCH) $(RELEASE)
DAYE_STAMP = `$(DATE) '+%y-%m-%d %H:%M'`
DATE_STAMP = `$(DATE) '+%y-%m-%d %H:%M'`
START_ECHO = echo "$(TITLE_TEXT) $@ build started: $(DATE_STAMP)"
FINISH_ECHO = echo "$(TITLE_TEXT) $@ build finished: $(DATE_STAMP)"
@@ -188,7 +188,7 @@ FRESH_DEBUG_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)-$(DEBUG_NAME)/j2sdk-image
create_fresh_product_bootdir: FRC
@$(START_ECHO)
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
NO_DOCS=true \
GENERATE_DOCS=false \
BOOT_CYCLE_SETTINGS= \
build_product_image
@$(FINISH_ECHO)
@@ -196,7 +196,7 @@ create_fresh_product_bootdir: FRC
create_fresh_debug_bootdir: FRC
@$(START_ECHO)
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
NO_DOCS=true \
GENERATE_DOCS=false \
BOOT_CYCLE_DEBUG_SETTINGS= \
build_debug_image
@$(FINISH_ECHO)
@@ -204,7 +204,7 @@ create_fresh_debug_bootdir: FRC
create_fresh_fastdebug_bootdir: FRC
@$(START_ECHO)
$(MAKE) ALT_OUTPUTDIR=$(ABS_BOOTDIR_OUTPUTDIR) \
NO_DOCS=true \
GENERATE_DOCS=false \
BOOT_CYCLE_DEBUG_SETTINGS= \
build_fastdebug_image
@$(FINISH_ECHO)
@@ -253,7 +253,7 @@ generic_debug_build:
$(MAKE) \
ALT_OUTPUTDIR=$(ABS_OUTPUTDIR)-$(DEBUG_NAME) \
DEBUG_NAME=$(DEBUG_NAME) \
NO_DOCS=true \
GENERATE_DOCS=false \
$(BOOT_CYCLE_DEBUG_SETTINGS) \
generic_build_repo_series
@$(FINISH_ECHO)
@@ -323,7 +323,7 @@ openjdk_build:
$(MKDIR) -p $(OPENJDK_OUTPUTDIR)
($(CD) $(OPENJDK_BUILDDIR) && $(MAKE) \
OPENJDK=true \
NO_DOCS=true \
GENERATE_DOCS=false \
ALT_JDK_DEVTOOLS_DIR=$(JDK_DEVTOOLS_DIR) \
ALT_OUTPUTDIR=$(OPENJDK_OUTPUTDIR) \
ALT_BINARY_PLUGS_PATH=$(OPENJDK_PLUGS) \

View File

@@ -38,12 +38,17 @@
<ul>
<li><a href="#introduction">Introduction</a></li>
<li><a href="#MBE">Minimum Build Environments</a></li>
<li><a href="#SDBE">Specific Developer Build Environments</a></li>
<li><a href="#SDBE">Specific Developer Build Environments</a>
<ul>
<li><a href="#fedora">Fedora Linux</a> </li>
<li><a href="#centos">CentOS Linux</a> </li>
<li><a href="#ubuntu">Ubuntu Linux</a> </li>
<li><a href="#debian">Debian GNU/Linux</a></li>
<li><a href="#ubuntu">Ubuntu Linux</a> </li>
<li><a href="#opensuse">OpenSUSE</a></li>
<li><a href="#mandriva">Mandriva</a></li>
<li><a href="#opensolaris">OpenSolaris</a></li>
</ul>
</li>
<li><a href="#directories">Source Directory Structure</a> </li>
<li><a href="#building">Build Information</a>
<ul>
@@ -68,7 +73,6 @@
</li>
<li><a href="#zip">Zip and Unzip</a> </li>
<li><a href="#freetype">FreeType2 Fonts</a> </li>
<li><a href="#jibx">JIBX Libraries</a> </li>
<li>Linux and Solaris:
<ul>
<li><a href="#cups">CUPS Include files</a> </li>
@@ -210,24 +214,59 @@
we will try to provide what information we have available to us.
</blockquote>
<!-- ------------------------------------------------------ -->
<h3><a name="fedora">Fedora 9</a></h3>
<h3><a name="fedora">Fedora</a></h3>
<blockquote>
After installing
<a href="http://www.fedoraproject.org/">Fedora 9</a>
you need to make sure you have
the "Software Development" bundle installed, plus the
following packages:
<blockquote>
<ul>
<li>cups devel: Cups Development Package</li>
<li>freetype 2.3+ devel: Freetype 2.3 Development Package</li>
<li>hg: Mercurial, if you need to clone or manage source repositories</li>
<li>ksh: May be needed when using <tt>webrev</tt></li>
</ul>
<h4>Fedora 9</h4>
<p>
<blockquote>
After installing <a href="http://fedoraproject.org">Fedora</a> 9
you need to install several build dependencies. The simplest
way to do it is to execute the following commands as user
<tt>root</tt>:
<p/>
<code>yum-builddep java-openjdk</code>
<p/>
<code>yum install gcc gcc-c++</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk</code>
</blockquote>
<p>
Always a good idea to do a complete Software Update/Refresh
after you get all the packages installed.
<h4>Fedora 10</h4>
<p>
<blockquote>
After installing <a href="http://fedoraproject.org">Fedora</a> 10
you need to install several build dependencies. The simplest
way to do it is to execute the following commands as user
<tt>root</tt>:
<p/>
<code>yum-builddep java-1.6.0-openjdk</code>
<p/>
<code>yum install gcc gcc-c++</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk</code>
</blockquote>
<h4>Fedora 11</h4>
<p>
<blockquote>
After installing <a href="http://fedoraproject.org">Fedora</a> 11
you need to install several build dependencies. The simplest
way to do it is to execute the following commands as user
<tt>root</tt>:
<p/>
<code>yum-builddep java-1.6.0-openjdk</code>
<p/>
<code>yum install gcc gcc-c++</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-openjdk</code>
</blockquote>
</blockquote>
<!-- ------------------------------------------------------ -->
<h3><a name="centos">CentOS 5.2</a></h3>
@@ -270,145 +309,146 @@
it's needed.
</blockquote>
<!-- ------------------------------------------------------ -->
<h3><a name="ubuntu">Ubuntu</a></h3>
<h3><a name="debian">Debian</a></h3>
<blockquote>
In addition to needing the Bootstrap JDK and the Binary Plugs,
when building on Ubuntu you will need to
make sure certain packages are installed.
In particular, certain X11 packages, make, m4, gawk, gcc 4,
binutils, cups, freetype
and alsa.
<!-- ------------------------------------------------------ -->
<h4>Ubuntu 6.06</h4>
<h4>Debian 5.0 (Lenny)</h4>
<p>
The following list of packages for Ubuntu 6.06 is a working set that
does appear to work.
<p>
<b>Note that it's quite possible that some of these
packages are not required, so anyone discovering that some of the
packages listed below are NOT required,
please let the
OpenJDK
team know.</b>
<p>
All the packages below can be installed with the
Synaptic Package manager provided with the base Ubuntu 6.06 release.
<blockquote>
<ul>
<li>binutils (2.16.1cvs20060117-1ubuntu2.1)</li>
<li>cpp (4:4.0.3-1)</li>
<li>cpp-4.0 (4.0.3-1ubuntu5)</li>
<li>libfreetype6-dev</li>
<li>g++ (4:4.0.3-1)</li>
<li>g++-4.0 (4.0.3-1ubuntu5)</li>
<li>gawk (1:3.1.5-2build1)</li>
<li>gcc (4:4.0.3-1)</li>
<li>gcc-4.0 (4.0.3-1ubuntu5)</li>
<li>libasound2-dev (1.0.10-2ubuntu4)</li>
<li>libc6 (2.3.6-0ubuntu20) to 2.3.6-0ubuntu20.4</li>
<li>libc6-dev (2.3.6-0ubuntu20.4)</li>
<li>libc6-i686 (2.3.6-0ubuntu20) to 2.3.6-0ubuntu20.4</li>
<li>libcupsys2-dev (1.2.2-0ubuntu0.6.06)</li>
<li>libgcrypt11-dev (1.2.2-1)</li>
<li>libgnutls-dev (1.2.9-2ubuntu1.1)</li>
<li>libgnutls12 (1.2.9-2ubuntu1) to 1.2.9-2ubuntu1.1</li>
<li>libgpg-error-dev (1.1-4)</li>
<li>libice-dev (2:1.0.0-0ubuntu2)</li>
<li>liblockfile1 (1.06.1)</li>
<li>libopencdk8-dev (0.5.7-2)</li>
<li>libpopt-dev (1.7-5)</li>
<li>libsm-dev (2:1.0.0-0ubuntu2)</li>
<li>libstdc++6-4.0-dev (4.0.3-1ubuntu5)</li>
<li>libtasn1-2-dev (0.2.17-1ubuntu1)</li>
<li>libx11-dev (2:1.0.0-0ubuntu9)</li>
<li>libxau-dev (1:1.0.0-0ubuntu4)</li>
<li>libxaw-headers (2:1.0.1-0ubuntu3)</li>
<li>libxaw7-dev (2:1.0.1-0ubuntu3)</li>
<li>libxdmcp-dev (1:1.0.0-0ubuntu2)</li>
<li>libxext-dev (2:1.0.0-0ubuntu4)</li>
<li>libxi-dev (2:1.0.0-0ubuntu3) </li>
<li>libxmu-dev (2:1.0.0-0ubuntu3)</li>
<li>libxmu-headers (2:1.0.0-0ubuntu3)</li>
<li>libxmuu-dev (2:1.0.0-0ubuntu3)</li>
<li>libxp-dev (6.8.2-11ubuntu2)</li>
<li>libxpm-dev (1:3.5.4.2-0ubuntu3)</li>
<li>libxrandr-dev (1:1.1.0.2-0ubuntu4)</li>
<li>libxt-dev (1:1.0.0-0ubuntu3)</li>
<li>libxtrap-dev (2:1.0.0-0ubuntu2)</li>
<li>libxtst-dev (2:1.0.1-0ubuntu2)</li>
<li>libxv-dev (2:1.0.1-0ubuntu3)</li>
<li>linux-kernel-headers (2.6.11.2-0ubuntu18)</li>
<li>m4 (1.4.4-1)</li>
<li>make (3.80+3.81.b4-1)</li>
<li>ssl-cert (1.0.13)</li>
<li>x-dev (7.0.4-0ubuntu2)</li>
<li>x11proto-core-dev (7.0.4-0ubuntu2)</li>
<li>x11proto-input-dev (1.3.2-0ubuntu2)</li>
<li>x11proto-kb-dev (1.0.2-0ubuntu2)</li>
<li>x11proto-randr-dev (1.1.2-0ubuntu2)</li>
<li>x11proto-record-dev (1.13.2-0ubuntu2)</li>
<li>x11proto-trap-dev (3.4.3-0ubuntu2)</li>
<li>x11proto-video-dev (2.2.2-0ubuntu2)</li>
<li>x11proto-xext-dev (7.0.2-0ubuntu2)</li>
<li>xlibs-dev (7.0.0-0ubuntu45)</li>
<li>zlib1g-dev (1:1.2.3-6ubuntu4)</li>
</ul>
</blockquote>
<!-- ------------------------------------------------------ -->
<h4>Ubuntu 7.04</h4>
<p>
Using the Synaptic Package Manager, download the following
packages (double indented packages are automatically aquired
due to package dependencies):
<blockquote>
<ul>
<li>build-essential</li>
<ul>
<li>dpkg-dev</li>
<li>g++</li>
<li>g++-4.1</li>
<li>libc6-dev</li>
<li>libstdc++6.4.1-dev</li>
<li>linux-libc-dev</li>
</ul>
<li>gawk</li>
<li>m4</li>
<li>libasound2-dev</li>
<li>libcupsys2-dev</li>
<ul>
<li>libgcrypt11-dev</li>
<li>lgnutls-dev</li>
<li>libgpg-error-dev</li>
<li>liblzo-dev</li>
<li>libopencdk8-dev</li>
<li>libpopt-dev</li>
<li>libtasn1-3-dev</li>
<li>zlib1g-dev</li>
</ul>
<li>sun-java6-jdk</li>
<ul>
<li>java-common</li>
<li>libltdl3</li>
<li>odbcinst1debian1</li>
<li>sun-java6-bin</li>
<li>sun-java6-jre</li>
<li>unixodbc</li>
</ul>
<li>xlibs-dev</li>
<ul>
<li>(many)</li>
</ul>
<li>x11proto-print-dev</li>
<li>libxaw7-dev</li>
<ul>
<li>libxaw-headers</li>
</ul>
<li>libxp-dev</li>
<li>libfreetype6-dev</li>
</ul>
</blockquote>
<blockquote>
After installing <a href="http://debian.org">Debian</a> 5
you need to install several build dependencies.
The simplest way to install the build dependencies is to
execute the following commands as user <tt>root</tt>:
<p/>
<code>aptitude build-dep openjdk-6</code>
<p/>
<code>aptitude install openjdk-6-jdk libmotif-dev</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
</blockquote>
</blockquote>
<!-- ------------------------------------------------------ -->
<!-- ====================================================== -->
<h3><a name="ubuntu">Ubuntu</a></h3>
<blockquote>
<h4>Ubuntu 8.04</h4>
<p>
<blockquote>
After installing <a href="http://ubuntu.org">Ubuntu</a> 8.04
you need to install several build dependencies.
<p/>
First, you need to enable the universe repository in the
Software Sources application and reload the repository
information. The Software Sources application is available
under the System/Administration menu.
<p/>
The simplest way to install the build dependencies is to
execute the following commands:
<p/>
<code>sudo aptitude build-dep openjdk-6</code>
<p/>
<code>sudo aptitude install openjdk-6-jdk</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
</blockquote>
<h4>Ubuntu 8.10</h4>
<p>
<blockquote>
After installing <a href="http://ubuntu.org">Ubuntu</a> 8.10
you need to install several build dependencies. The simplest
way to do it is to execute the following commands:
<p/>
<code>sudo aptitude build-dep openjdk-6</code>
<p/>
<code>sudo aptitude install openjdk-6-jdk</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
</blockquote>
<h4>Ubuntu 9.04</h4>
<p>
<blockquote>
After installing <a href="http://ubuntu.org">Ubuntu</a> 9.04
you need to install several build dependencies. The simplest
way to do it is to execute the following commands:
<p/>
<code>sudo aptitude build-dep openjdk-6</code>
<p/>
<code>sudo aptitude install openjdk-6-jdk</code>
<p/>
In addition, it's necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk</code>
</blockquote>
</blockquote>
<!-- ====================================================== -->
<h3><a name="opensuse">OpenSUSE</a></h3>
<blockquote>
<h4>OpenSUSE 11.1</h4>
<p>
<blockquote>
After installing <a href="http://opensuse.org">OpenSUSE</a> 11.1
you need to install several build dependencies.
The simplest way to install the build dependencies is to
execute the following commands:
<p/>
<code>sudo zypper source-install -d java-1_6_0-openjdk</code>
<p/>
<code>sudo zypper install make</code>
<p/>
In addition, it is necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-1.6.0-openjdk</code>
<p/>
Finally, you need to unset the <code>JAVA_HOME</code> environment variable:
<p/>
<code>export -n JAVA_HOME</code>
</blockquote>
</blockquote>
<!-- ====================================================== -->
<h3><a name="mandriva">Mandriva</a></h3>
<blockquote>
<h4>Mandriva Linux One 2009 Spring</h4>
<p>
<blockquote>
After installing <a href="http://mandriva.org">Mandriva</a> Linux One 2009 Spring
you need to install several build dependencies.
The simplest way to install the build dependencies is to
execute the following commands as user <tt>root</tt>:
<p/>
<code>urpmi java-1.6.0-openjdk-devel ant make gcc gcc-c++ freetype-devel zip unzip libcups2-devel libxrender1-devel libalsa2-devel libstc++-static-devel libxtst6-devel libxi-devel</code>
<p/>
In addition, it is necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-1.6.0-openjdk</code>
</blockquote>
</blockquote>
<!-- ====================================================== -->
<h3><a name="opensolaris">OpenSolaris</a></h3>
<blockquote>
<h4>OpenSolaris 2009.06</h4>
<p>
<blockquote>
After installing <a href="http://opensolaris.org">OpenSolaris</a> 2009.06
you need to install several build dependencies.
The simplest way to install the build dependencies is to
execute the following commands:
<p/>
<code>pfexec pkg install SUNWgmake SUNWj6dev SUNWant sunstudioexpress SUNWcups SUNWzip SUNWunzip SUNWxwhl SUNWxorg-headers SUNWaudh SUNWfreetype2</code>
<p/>
In addition, it is necessary to set a few environment variables for the build:
<p/>
<code>export LANG=C ALT_COMPILER_PATH=/opt/SunStudioExpress/bin/ ALT_CUPS_HEADERS_PATH=/usr/include/</code>
<p/>
Finally, you need to make sure that the build process can find the Sun Studio compilers:
<p/>
<code>export PATH=$PATH:/opt/SunStudioExpress/bin/</code>
</blockquote>
</blockquote>
<!-- ------------------------------------------------------ -->
<hr>
<h2><a name="directories">Source Directory Structure</a></h2>
<blockquote>
@@ -505,7 +545,11 @@
</li>
<li>
<strong>Windows:</strong>
Make sure you start your build inside a bash/sh/ksh shell.
Make sure you start your build inside a bash/sh/ksh shell
and are using a <tt>make.exe</tt> utility built for that
environment (a cygwin <tt>make.exe</tt> is not the same
as a <tt>make.exe</tt> built for something like
<a href="http://www.mkssoftware.com/">MKS</a>).
<br>
<b>WARNING:</b> Watch out for make version 3.81, it may
not work due to a lack of support for MS-DOS drive letter paths
@@ -596,11 +640,6 @@
Install or upgrade the <a href="#freetype">FreeType development
package</a>.
</li>
<li>
Install the
<a href="#jibx">JIBX Libraries</a>, set
<tt><a href="#ALT_JIBX_LIBS_PATH">ALT_JIBX_LIBS_PATH</a></tt>.
</li>
<li>
Install
<a href="#ant">Ant</a>,
@@ -669,11 +708,6 @@
<li>
Install the <a href="#xrender">XRender Include files</a>.
</li>
<li>
Install the
<a href="#jibx">JIBX Libraries</a>, set
<tt><a href="#ALT_JIBX_LIBS_PATH">ALT_JIBX_LIBS_PATH</a></tt>.
</li>
<li>
Install
<a href="#ant">Ant</a>,
@@ -769,11 +803,6 @@
Install
<a href="#dxsdk">Microsoft DirectX SDK</a>.
</li>
<li>
Install the
<a href="#jibx">JIBX Libraries</a>, set
<tt><a href="#ALT_JIBX_LIBS_PATH">ALT_JIBX_LIBS_PATH</a></tt>.
</li>
<li>
Install
<a href="#ant">Ant</a>,
@@ -801,7 +830,8 @@
All OpenJDK builds require access to the previously released
JDK 6, this is often called a bootstrap JDK.
The JDK 6 binaries can be downloaded from Sun's
<a href="http://java.sun.com/javase/1.6.0/download.html" target="_blank">JDK 6 download site</a>.
<a href="http://java.sun.com/javase/downloads/index.jsp"
target="_blank">JDK 6 download site</a>.
For build performance reasons
is very important that this bootstrap JDK be made available on the
local disk of the machine doing the build.
@@ -903,27 +933,6 @@
fine for most JDK developers.
</blockquote>
<!-- ------------------------------------------------------ -->
<h4><a name="jibx">JIBX</a></h4>
<blockquote>
JIBX libraries version 1.1.5 is required for building the OpenJDK.
Namely, the following JAR files from the JIBX distribution package
are required:
<ul>
<li>bcel.jar
<li>jibx-bind.jar
<li>jibx-run.jar
<li>xpp3.jar
</ul>
<p>
You can download the package from the
<a href="http://jibx.sourceforge.net" target="_blank">JIBX site</a>.
<p>
You will need to set the
<tt><a href="#ALT_JIBX_LIBS_PATH">ALT_JIBX_LIBS_PATH</a></tt>
environment variable to refer to place where the JAR files,
above, are located.
</blockquote>
<!-- ------------------------------------------------------ -->
<h4><a name="compilers">Compilers</a></h4>
<blockquote>
<strong><a name="gcc">Linux gcc/binutils</a></strong>
@@ -1496,12 +1505,6 @@
The default will refer to
<tt>jdk/src/share/lib/security/cacerts</tt>.
</dd>
<dt><tt><a name="ALT_JIBX_LIBS_PATH">ALT_JIBX_LIBS_PATH</a></tt></dt>
<dd>
The location of the <a href="#jibx">JIBX libraries</a> file.
The default value is
<tt>$(ALT_SLASH_JAVA)/devtools/share/jibx/lib</tt>.
</dd>
<dt><a name="ALT_CUPS_HEADERS_PATH"><tt>ALT_CUPS_HEADERS_PATH</tt></a> </dt>
<dd>
The location of the CUPS header files.

View File

@@ -32,7 +32,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
--- end of LICENSE file ---
%% This notice is provided with respect to ASM, which may be included with this software:
Copyright (c) 2000-2005 INRIA, France Telecom
Copyright (c) 2000-2007 INRIA, France Telecom
All rights reserved.
Redistribution and use in source and binary forms, with or without

View File

@@ -1,3 +1,3 @@
^build/
^dist/
^nbproject/private/
/nbproject/private/

View File

@@ -43,3 +43,20 @@ d20e45cd539f20405ff843652069cfd7550c5ab3 jdk7-b63
a821e059a961bcb02830280d51f6dd030425c066 jdk7-b66
a12ea7c7b497b4ba7830550095ef633bd6f43971 jdk7-b67
5182bcc9c60cac429d1f7988676cec7320752be3 jdk7-b68
8120d308ec4e805c5588b8d9372844d781c4112d jdk7-b69
175bd68779546078dbdb6dacd7f0aced79ed22b1 jdk7-b70
3f1ef7f899ea2aec189c4fb67e5c8fa374437c50 jdk7-b71
c793a31209263fbb867c23c752599d85c21abb73 jdk7-b72
b751c528c55560cf2adeaeef24b39ca1f4d1cbf7 jdk7-b73
5d0cf59a3203b9f57aceebc33ae656b884987955 jdk7-b74
0fb137085952c8e47878e240d1cb40f14de463c4 jdk7-b75
937144222e2219939101b0129d26a872a7956b13 jdk7-b76
6881f0383f623394b5ec73f27a5f329ff55d0467 jdk7-b77
a7f7276b48cd74d8eb1baa83fbf3d1ef4a2603c8 jdk7-b78
ec0421b5703b677e2226cf4bf7ae4eaafd8061c5 jdk7-b79
0336e70ca0aeabc783cc01658f36cb6e27ea7934 jdk7-b80
e08a42a2a94d97ea8eedb187a94dbff822c8fbba jdk7-b81
1e8c1bfad1abb4b81407a0f2645e0fb85764ca48 jdk7-b82
fde0df7a2384f7fe33204a79678989807d9c2b98 jdk7-b83
68c8961a82e4a3ad2a67991e5d834192a81eb4cd jdk7-b84
c67a9df7bc0ca291f08f9a9cc05cb78ea15d25e6 jdk7-b85

View File

@@ -32,7 +32,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
--- end of LICENSE file ---
%% This notice is provided with respect to ASM, which may be included with this software:
Copyright (c) 2000-2005 INRIA, France Telecom
Copyright (c) 2000-2007 INRIA, France Telecom
All rights reserved.
Redistribution and use in source and binary forms, with or without

View File

@@ -141,12 +141,12 @@ $(CLASSES_JAR):
#----- src.zip
SRC_ZIP_FILES = $(shell $(FIND) $(SRC_CLASSES_DIR) \( -name SCCS -o -name \*-template \) -prune -o -type f -print )
SRC_ZIP_FILES = $(shell $(FIND) $(SRC_CLASSES_DIR) \( -name \*-template \) -prune -o -type f -print )
SRC_ZIP = $(LIB_DIR)/src.zip
$(SRC_ZIP): $(SRC_ZIP_FILES)
abs_src_zip=`cd $(@D) ; pwd`/$(@F) ; \
( cd $(SRC_CLASSES_DIR) ; $(FIND) . \( -name SCCS -o -name \*-template \) -prune -o -type f -print | $(ZIP) -q $$abs_src_zip -@ ) ; \
( cd $(SRC_CLASSES_DIR) ; $(FIND) . \( -name \*-template \) -prune -o -type f -print | $(ZIP) -q $$abs_src_zip -@ ) ; \
( cd $(GENSRC_DIR) ; $(FIND) . -type f -print | $(ZIP) -q $$abs_src_zip -@ ) ;
#----- bin.zip

View File

@@ -1,5 +1,5 @@
#
# Copyright 1998-2005 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1998-2009 Sun Microsystems, Inc. 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
@@ -24,22 +24,29 @@
#
# Input: BUILDDIR PACKAGE PKGDIR PROGRAM BUILDTOOL_SOURCE_ROOT BUILDTOOL_MAIN
# All subdirectories under the package root for the tool (max depth 4)
_WC_DIRS = * */* */*/* */*/*/*
BUILDTOOL_MAIN_SOURCE_FILE = $(BUILDTOOL_SOURCE_ROOT)/$(BUILDTOOL_MAIN)
BUILDTOOL_MANIFEST_FILE = $(BUILDTOOLCLASSDIR)/$(PROGRAM)_manifest.mf
BUILDTOOL_JAR_FILE = $(BUILDTOOLJARDIR)/$(PROGRAM).jar
BUILDTOOL_ALL_FILES := $(shell $(CD) $(BUILDTOOL_SOURCE_ROOT) \
&& $(FIND) $(PKGDIR) $(SCM_DIRS_prune) -o -type f -print)
BUILTTOOL_MAINCLASS = $(subst /,.,$(BUILDTOOL_MAIN:%.java=%))
BUILTTOOL_MAINCLASS = $(subst /,.,$(BUILDTOOL_MAIN:%.java=%))
all build: $(BUILDTOOL_JAR_FILE) tool_info
# Wildcard patterns that find all the sources for this build tool
BUILDTOOL_WC_PATTERNS = $(BUILDTOOL_SOURCE_ROOT)/$(PKGDIR)/*.java \
$(patsubst %, $(BUILDTOOL_SOURCE_ROOT)/$(PKGDIR)/%/*.java, $(_WC_DIRS))
# Wildcard expansion that finds all the files
BUILDTOOL_SRC_FILES := $(wildcard $(BUILDTOOL_WC_PATTERNS))
all build: $(BUILDTOOL_JAR_FILE)
$(BUILDTOOL_MANIFEST_FILE): $(BUILDTOOL_MAIN_SOURCE_FILE)
@$(prep-target)
$(ECHO) "Main-Class: $(BUILTTOOL_MAINCLASS)" > $@
$(BUILDTOOL_JAR_FILE): $(BUILDTOOL_MANIFEST_FILE) \
$(BUILDTOOL_ALL_FILES:%=$(BUILDTOOL_SOURCE_ROOT)/%)
$(BUILDTOOL_JAR_FILE): $(BUILDTOOL_MANIFEST_FILE) $(BUILDTOOL_SRC_FILES)
@$(prep-target)
@$(MKDIR) -p $(BUILDTOOLCLASSDIR)
$(BOOT_JAVAC_CMD) -d $(BUILDTOOLCLASSDIR) \
@@ -49,23 +56,8 @@ $(BUILDTOOL_JAR_FILE): $(BUILDTOOL_MANIFEST_FILE) \
$(JAR_JFLAGS) || $(RM) $@
@$(java-vm-cleanup)
# Printing out a build tool information line
define printBuildToolSetting
if [ "$2" != "" ] ; then $(PRINTF) "%-25s %s\n" "$1:" "$2"; fi
endef
# Print out the build tool information
tool_info:
@$(ECHO) "========================================================="
@$(call printBuildToolSetting,BUILDTOOL,$(PROGRAM))
@$(call printBuildToolSetting,PACKAGE,$(PACKAGE))
@$(call printBuildToolSetting,BUILDTOOL_SOURCE_ROOT,$(BUILDTOOL_SOURCE_ROOT))
@$(call printBuildToolSetting,BUILTTOOL_MAINCLASS,$(BUILTTOOL_MAINCLASS))
@$(call printBuildToolSetting,BUILDTOOL_JAR_FILE,$(BUILDTOOL_JAR_FILE))
@$(ECHO) "========================================================="
clean clobber::
$(RM) -r $(BUILDTOOLCLASSDIR)/$(PKGDIR)
$(RM) $(BUILDTOOL_MANIFEST_FILE)
$(RM) $(BUILDTOOL_JAR_FILE)
$(RM) -r $(BUILDTOOLCLASSDIR)/$(PKGDIR) \
$(BUILDTOOL_MANIFEST_FILE) \
$(BUILDTOOL_JAR_FILE)

View File

@@ -1,5 +1,5 @@
#
# Copyright 1998-1999 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1998-2009 Sun Microsystems, Inc. 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
@@ -56,11 +56,3 @@ ifndef USE_IMPLICITS
%: %.sh
endif
#
# If you are using RCS, you must set the variable USE_RCS at the make
# command line. Otherwise we disable RCS.
#
ifndef USE_RCS
%:: %,v
%:: RCS/%,v
endif

View File

@@ -99,8 +99,16 @@ CFLAGS_REQUIRED_sparcv9 += -m64 -mcpu=v9
LDFLAGS_COMMON_sparcv9 += -m64 -mcpu=v9
CFLAGS_REQUIRED_sparc += -m32 -mcpu=v9
LDFLAGS_COMMON_sparc += -m32 -mcpu=v9
CFLAGS_REQUIRED = $(CFLAGS_REQUIRED_$(ARCH))
LDFLAGS_COMMON += $(LDFLAGS_COMMON_$(ARCH))
ifeq ($(ZERO_BUILD), true)
CFLAGS_REQUIRED = $(ZERO_ARCHFLAG)
ifeq ($(ZERO_ENDIANNESS), little)
CFLAGS_REQUIRED += -D_LITTLE_ENDIAN
endif
LDFLAGS_COMMON += $(ZERO_ARCHFLAG)
else
CFLAGS_REQUIRED = $(CFLAGS_REQUIRED_$(ARCH))
LDFLAGS_COMMON += $(LDFLAGS_COMMON_$(ARCH))
endif
# Add in platform specific optimizations for all opt levels
CC_HIGHEST_OPT += $(_OPT_$(ARCH))
@@ -196,7 +204,7 @@ endif
EXTRA_LIBS += -lc
LDFLAGS_DEFS_OPTION = -z defs
LDFLAGS_DEFS_OPTION = -Xlinker -z -Xlinker defs
LDFLAGS_COMMON += $(LDFLAGS_DEFS_OPTION)
#

View File

@@ -1,5 +1,5 @@
#
# Copyright 1995-2007 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 1995-2009 Sun Microsystems, Inc. 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
@@ -310,125 +310,32 @@ endef
SUBDIRS_MAKEFLAGS-clobber = INCREMENTAL_BUILD=false
SUBDIRS_MAKEFLAGS-clean = INCREMENTAL_BUILD=false
# Current directory
CURRENT_DIRECTORY := $(shell $(PWD))
# If no timing wanted, we need to define these as empty
ifdef NO_TIMING
TIMING_ID:=NA
define TIMING_start
t=0:0:0:0
endef
define TIMING_end
time_used=0
endef
else # NO_TIMING
# Default timing id
TIMING_ID:=$(shell $(BASENAME) $(CURRENT_DIRECTORY))
# Timing start (must be used in same shell, e.g. same command line)
# Defines the shell variable $1 to have the start time.
define TIMING_start
$1=`$(DATE) +%j:%H:%M:%S`
endef
# Timing end (must be used in same shell, e.g. same command line)
# Expects shell variable $1 to have been defined as the start time.
# Expects shell variable $2 to have timing id string
# Sets total_seconds shell variable as the total seconds used.
# Sets time_used shell variable to contain format "%dh%dm%ds"
define TIMING_end
begTime="$${$1}"; \
timing_id="$${$2}"; \
endTime=`$(DATE) +%j:%H:%M:%S`; \
d1=`$(ECHO) $${begTime} | $(CUT) -d':' -f1 | $(SED) -e 's@^0*@@'`; \
if [ "$${d1}" = "" ] ; then d1=0; fi; \
h1=`$(ECHO) $${begTime} | $(CUT) -d':' -f2 | $(SED) -e 's@^0*@@'`; \
if [ "$${h1}" = "" ] ; then h1=0; fi; \
m1=`$(ECHO) $${begTime} | $(CUT) -d':' -f3 | $(SED) -e 's@^0*@@'`; \
if [ "$${m1}" = "" ] ; then m1=0; fi; \
s1=`$(ECHO) $${begTime} | $(CUT) -d':' -f4 | $(SED) -e 's@^0*@@'`; \
if [ "$${s1}" = "" ] ; then s1=0; fi; \
d2=`$(ECHO) $${endTime} | $(CUT) -d':' -f1 | $(SED) -e 's@^0*@@'`; \
if [ "$${d2}" = "" ] ; then d2=0; fi; \
h2=`$(ECHO) $${endTime} | $(CUT) -d':' -f2 | $(SED) -e 's@^0*@@'`; \
if [ "$${h2}" = "" ] ; then h2=0; fi; \
m2=`$(ECHO) $${endTime} | $(CUT) -d':' -f3 | $(SED) -e 's@^0*@@'`; \
if [ "$${m2}" = "" ] ; then m2=0; fi; \
s2=`$(ECHO) $${endTime} | $(CUT) -d':' -f4 | $(SED) -e 's@^0*@@'`; \
if [ "$${s2}" = "" ] ; then s2=0; fi; \
t1_secs=`$(EXPR) $${d1} '*' 60 '*' 60 '*' 24 '+' $${h1} '*' 60 '*' 60 \
'+' $${m1} '*' 60 '+' $${s1}`; \
t2_secs=`$(EXPR) $${d2} '*' 60 '*' 60 '*' 24 '+' $${h2} '*' 60 '*' 60 \
'+' $${m2} '*' 60 '+' $${s2}`; \
total_seconds=`$(EXPR) $${t2_secs} '-' $${t1_secs}`; \
if [ "$${total_seconds}" -lt 0 ] ; then total_seconds=0; fi; \
t_hour=`$(EXPR) $${total_seconds} '/' '(' 60 '*' 60 ')'`h; \
t_min=`$(EXPR) '(' $${total_seconds} '%' '(' 60 '*' 60 ')' ')' '/' 60`m; \
t_sec=`$(EXPR) $${total_seconds} '%' 60`s; \
time_used=$${t_sec}; \
if [ "$${t_hour}" != "0h" ] ; then \
time_used=$${t_hour}$${t_min}$${t_sec}; \
elif [ "$${t_min}" != "0m" ] ; then \
time_used=$${t_min}$${t_sec}; \
else \
time_used=$${t_sec}; \
fi; \
$(PRINTF) " Timing: %05d seconds or %s for %s\n" \
$${total_seconds} $${time_used} $${timing_id}
endef
endif # NO_TIMING
# Given a SUBDIRS list, cd into them and make them
# SUBDIRS_MAKEFLAGS Make settings for a subdir make
# SUBDIRS_MAKEFLAGS-$@ Make settings specific to this target
define SUBDIRS-loop
@$(ECHO) "Begin Processing SUBDIRS: $(SUBDIRS)"
@for i in DUMMY $(SUBDIRS) ; do \
if [ "$$i" != "DUMMY" ] ; then \
$(ECHO) ">>>Recursively making "$$i" "$@" @ `$(DATE)` ..."; \
timing_id="$(TIMING_ID)-`$(BASENAME) $${i}`"; \
$(call TIMING_start,startTime); \
curDir=$(CURRENT_DIRECTORY); \
$(CD) $$i; $(MAKE) $@ TIMING_ID=$${timing_id} \
$(SUBDIRS_MAKEFLAGS) \
$(SUBDIRS_MAKEFLAGS-$@) \
FULL_VERSION=$(FULL_VERSION) \
RELEASE=$(RELEASE) || exit 1; \
$(CD) $${curDir}; \
$(call TIMING_end,startTime,timing_id); \
$(ECHO) "<<<Finished Recursively making "$$i" "$@" @ `$(DATE)`." ; \
$(MAKE) -C $${i} $@ \
$(SUBDIRS_MAKEFLAGS) \
$(SUBDIRS_MAKEFLAGS-$@) \
FULL_VERSION=$(FULL_VERSION) \
RELEASE=$(RELEASE) || exit 1; \
fi ; \
done
@$(ECHO) "Done Processing SUBDIRS: $(SUBDIRS)"
endef
# Given a OTHERSUBDIRS list, cd into them and make them (extra loop define)
# OTHERSUBDIRS_MAKEFLAGS Make settings for a subdir make
define OTHERSUBDIRS-loop
@$(ECHO) "Begin Processing OTHERSUBDIRS: $(OTHERSUBDIRS)"
@for i in DUMMY $(OTHERSUBDIRS) ; do \
if [ "$$i" != "DUMMY" ] ; then \
$(ECHO) ">>>Recursively making "$$i" "$@" @ `$(DATE)` ..."; \
timing_id="$(TIMING_ID)-`$(BASENAME) $${i}`"; \
$(call TIMING_start,startTime); \
curDir=$(CURRENT_DIRECTORY); \
$(CD) $$i; $(MAKE) $@ TIMING_ID=$${timing_id} \
$(OTHERSUBDIRS_MAKEFLAGS) \
FULL_VERSION=$(FULL_VERSION) \
RELEASE=$(RELEASE) || exit 1; \
$(CD) $${curDir}; \
$(call TIMING_end,startTime,timing_id); \
$(ECHO) "<<<Finished Recursively making "$$i" "$@" @ `$(DATE)`." ; \
$(MAKE) -C $${i} $@ \
$(OTHERSUBDIRS_MAKEFLAGS) \
FULL_VERSION=$(FULL_VERSION) \
RELEASE=$(RELEASE) || exit 1; \
fi ; \
done
@$(ECHO) "Done Processing OTHERSUBDIRS: $(OTHERSUBDIRS)"
endef
#
@@ -460,46 +367,23 @@ else
VERSION_DEFINES = -DRELEASE='"$(RELEASE)"'
endif
# Note: As a rule, GNU Make rules should not appear in any of the
# Defs*.gmk files. These were added for Kestrel-Solaris and do address
# a TeamWare bug. They should be moved elsewhere for Merlin.
#
# Override gnumake built-in rules which do sccs get operations badly.
# (They put the checked out code in the current directory, not in the
# directory of the original file.)
# Since this is a symptom of a teamware failure, complain and die on the spot.
# This message immediately goes to stdout and the build terminates.
define SCCS-trouble
$(error \
"ERROR: File $@ referenced while building in $(CURRENT_DIRECTORY) \
is out of date with respect to its SCCS file $<. \
This can happen from an unresolved Teamware conflict, a file movement, or \
a failure in which SCCS files are updated but the 'sccs get' was not done. \
You should double check for other out of date files in your workspace. \
Or run: cd $(TOPDIR) && $(MAKE) sccs_get")
endef
%:: s.%
@$(SCCS-trouble)
%:: SCCS/s.%
@$(SCCS-trouble)
@$(ECHO) " is out of date with respect to its SCCS file." >> $(WARNING_FILE)
@$(ECHO) " This file may be from an unresolved Teamware conflict." >> $(WARNING_FILE)
@$(ECHO) " This is also a symptom of a Teamware bringover/putback failure" >> $(WARNING_FILE)
@$(ECHO) " in which SCCS files are updated but not checked out." >> $(WARNING_FILE)
@$(ECHO) " Check for other out of date files in your workspace." >> $(WARNING_FILE)
@$(ECHO) "" >> $(WARNING_FILE)
@#exit 666
# Prevent the use of many default suffix rules we do not need
.SUFFIXES:
.SUFFIXES: .c .o .h .obj .cpp .hpp .java .class
# Make sure we are all insane
ifdef INSANE
export INSANE
endif
ifdef ALT_COPYRIGHT_YEAR
COPYRIGHT_YEAR = $(ALT_COPYRIGHT_YEAR)
else
COPYRIGHT_YEAR = $(shell $(DATE) '+%Y')
# Make sure we have the current year
ifndef COPYRIGHT_YEAR
ifdef ALT_COPYRIGHT_YEAR
COPYRIGHT_YEAR := $(ALT_COPYRIGHT_YEAR)
else
COPYRIGHT_YEAR := $(shell $(DATE) '+%Y')
endif
export COPYRIGHT_YEAR
endif
# Install of imported file (JDK_IMPORT_PATH, or some other external location)

View File

@@ -27,17 +27,6 @@
#
# Rules shared by all Java makefiles.
#
# Used to apply to source file $<, checks code conventions, issues warnings.
define check-conventions
if [ "$(CONVENTION_WATCH)" = "true" ] ; then \
if [ "`$(CAT) -n -v -t $< | $(EGREP) -v '\@\(\#\)' | $(EGREP) '\^[MLI]'`" != "" ] ; then \
$(ECHO) "WARNING: File contains tabs, ^M, or ^L characters: $<"; \
if [ "$(CONVENTION_DETAILS)" = "true" ] ; then \
$(CAT) -n -v -t $< | $(EGREP) -v '\@\(\#\)' | $(EGREP) '\^[MLI]' ; \
fi; \
fi; \
fi
endef
# Make sure the default rule is all
rules_default_rule: all
@@ -162,7 +151,6 @@ JAVA_SOURCE_LIST=$(TEMPDIR)/.classes.list
# Add a java source to the list
define add-java-file
$(ECHO) "$?" >> $(JAVA_SOURCE_LIST)
$(check-conventions)
endef
$(CLASSDESTDIR)/%.class: $(GENSRCDIR)/%.java
@@ -197,11 +185,8 @@ JAVAC_PREFER_SOURCE = -Xprefer:source
.compile.classlist : $(JAVA_SOURCE_LIST)
@$(MKDIR) -p $(CLASSDESTDIR)
@if [ `$(CAT) $(JAVA_SOURCE_LIST) | $(WC) -l` -ge 1 ] ; then \
$(ECHO) "# Java sources to be compiled: (listed in file $(JAVA_SOURCE_LIST))"; \
if [ -s $(JAVA_SOURCE_LIST) ] ; then \
$(CAT) $(JAVA_SOURCE_LIST); \
$(ECHO) "# Running javac:"; \
$(ECHO) $(JAVAC_CMD) $(JAVAC_PREFER_SOURCE) -sourcepath "$(SOURCEPATH)" -d $(CLASSDESTDIR) @$(JAVA_SOURCE_LIST); \
$(JAVAC_CMD) $(JAVAC_PREFER_SOURCE) -sourcepath "$(SOURCEPATH)" -d $(CLASSDESTDIR) @$(JAVA_SOURCE_LIST); \
fi
@$(java-vm-cleanup)
@@ -220,10 +205,7 @@ endif
packages.clean:
ifeq ($(DONT_CLOBBER_CLASSES),false)
ifdef AUTO_FILES_JAVA_DIRS
@for sdir in $(AUTO_FILES_JAVA_DIRS); do \
$(ECHO) "$(RM) -r $(CLASSDESTDIR)/$$sdir"; \
$(RM) -r $(CLASSDESTDIR)/$$sdir; \
done
$(RM) -r $(patsubst %, $(CLASSDESTDIR)/%, $(AUTO_FILES_JAVA_DIRS))
else
$(RM) -r $(CLASSDESTDIR)/$(PKGDIR)
endif
@@ -259,15 +241,13 @@ classheaders: classes $(CLASSHDR_DOTFILE)
$(CLASSHDR_DOTFILE): $(CLASSES_export)
$(prep-target)
@$(ECHO) "# Running javah:"
$(JAVAH_CMD) -d $(CLASSHDRDIR)/ \
$(CLASSES.export) $(subst $$,\$$,$(EXPORTED_inner))
@$(java-vm-cleanup)
@$(TOUCH) $@
classheaders.clean:
$(RM) $(CLASSHDR_DOTFILE)
$(RM) -r $(CLASSHDRDIR)
$(RM) -r $(CLASSHDRDIR) $(CLASSHDR_DOTFILE)
else # FILES_export

View File

@@ -70,6 +70,11 @@ ifeq ($(PLATFORM), linux)
else
CXX = $(COMPILER_PATH)g++
endif
ifeq ($(ZERO_BUILD), true)
# zero
REQUIRED_CC_VER = 3.2
REQUIRED_GCC_VER = 3.2.*
else
ifneq ("$(findstring sparc,$(ARCH))", "")
# sparc or sparcv9
REQUIRED_CC_VER = 4.0
@@ -88,6 +93,7 @@ ifeq ($(PLATFORM), linux)
endif
endif
endif
endif
# Option used to create a shared library
SHARED_LIBRARY_FLAG = -shared -mimpure-text
SUN_COMP_VER := $(shell $(CC) --verbose 2>&1 )

View File

@@ -48,11 +48,17 @@ ifeq ($(PLATFORM), windows)
NMAKE = MFLAGS= MAKEFLAGS= $(COMPILER_PATH)nmake -nologo
# Compiler version and type (Always get word after "Version")
CC_VER := $(shell $(CC) 2>&1 | $(HEAD) -n 1 | $(SED) 's/.*\(Version.*\)/\1/' | $(NAWK) '{print $$2}')
ifndef CC_VER
CC_VER := $(shell $(CC) 2>&1 | $(HEAD) -n 1 | $(SED) 's/.*\(Version.*\)/\1/' | $(NAWK) '{print $$2}')
export CC_VER
endif
# SDK-64 and MSVC6 put REBASE.EXE in a different places - go figure...
ifeq ($(ARCH_DATA_MODEL), 32)
LINK_VER := $(shell $(LINK) | $(HEAD) -n 1 | $(NAWK) '{print $$6}')
ifndef LINK_VER
LINK_VER := $(shell $(LINK) | $(HEAD) -n 1 | $(NAWK) '{print $$6}')
export LINK_VER
endif
CC_MAJORVER :=$(call MajorVersion,$(CC_VER))
ifeq ($(CC_MAJORVER), 13)
# This should be: CC_VER=13.10.3077 LINK_VER=7.10.3077
@@ -93,7 +99,10 @@ ifeq ($(PLATFORM), windows)
endif
else
# else ARCH_DATA_MODEL is 64
LINK_VER := $(shell $(LINK) | $(HEAD) -n 1 | $(NAWK) '{print $$6}')
ifndef LINK_VER
LINK_VER := $(shell $(LINK) | $(HEAD) -n 1 | $(NAWK) '{print $$6}')
export LINK_VER
endif
CC_MAJORVER :=$(call MajorVersion,$(CC_VER))
CC_MINORVER :=$(call MinorVersion,$(CC_VER))
CC_MICROVER :=$(call MicroVersion,$(CC_VER))

View File

@@ -55,10 +55,21 @@ else
ADD_CLIENT_VM_OPTION = true
endif
endif
JAVA_JVM_FLAGS =
# Options for hotspot to turn off printing of options with fastdebug version
# and creating the hotspot.log file.
JAVA_HOTSPOT_DISABLE_PRINT_VMOPTIONS = \
-XX:-PrintVMOptions -XX:+UnlockDiagnosticVMOptions -XX:-LogVMOutput
# JVM options
JAVA_JVM_FLAGS = $(JAVA_HOTSPOT_DISABLE_PRINT_VMOPTIONS)
ifeq ($(ADD_CLIENT_VM_OPTION), true)
JAVA_JVM_FLAGS += -client
endif
ifdef USE_HOTSPOT_INTERPRETER_MODE
JAVA_JVM_FLAGS += -Xint
endif
# Various VM flags
JAVA_TOOLS_FLAGS = $(JAVA_JVM_FLAGS) $(JAVA_MEM_FLAGS)
@@ -100,7 +111,10 @@ JAVACFLAGS =
ifeq ($(DEBUG_CLASSFILES),true)
JAVACFLAGS += -g
endif
ifeq ($(COMPILER_WARNINGS_FATAL), true)
ifeq ($(JAVAC_MAX_WARNINGS), true)
JAVACFLAGS += -Xlint:all
endif
ifeq ($(JAVAC_WARNINGS_FATAL), true)
JAVACFLAGS += -Werror
endif
@@ -108,7 +122,8 @@ NO_PROPRIETARY_API_WARNINGS = -XDignore.symbol.file=true
JAVACFLAGS += $(NO_PROPRIETARY_API_WARNINGS)
# Add the source level
LANGUAGE_VERSION = -source 7
SOURCE_LANGUAGE_VERSION = 7
LANGUAGE_VERSION = -source $(SOURCE_LANGUAGE_VERSION)
JAVACFLAGS += $(LANGUAGE_VERSION)
# Add the class version we want
@@ -176,10 +191,17 @@ endif
# The javac options supplied to the boot javac is limited. This compiler
# should only be used to build the 'make/tools' sources, which are not
# class files that end up in the classes directory.
ifeq ($(COMPILER_WARNINGS_FATAL), true)
ifeq ($(JAVAC_MAX_WARNINGS), true)
BOOT_JAVACFLAGS += -Xlint:all
endif
ifeq ($(JAVAC_WARNINGS_FATAL), true)
BOOT_JAVACFLAGS += -Werror
endif
BOOT_JAVACFLAGS += -encoding ascii
BOOT_SOURCE_LANGUAGE_VERSION = 6
BOOT_TARGET_CLASS_VERSION = 6
BOOT_JAVACFLAGS += -encoding ascii -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
BOOT_JAR_JFLAGS += $(JAR_JFLAGS)
BOOT_JAVA_CMD = $(BOOTDIR)/bin/java $(JAVA_TOOLS_FLAGS)
BOOT_JAVAC_CMD = $(BOOTDIR)/bin/javac $(JAVAC_JVM_FLAGS) $(BOOT_JAVACFLAGS)

View File

@@ -116,7 +116,6 @@ RC = $(UTILS_COMMAND_PATH)rc
RMDIR = $(UTILS_COMMAND_PATH)rmdir
RPM = $(UTILS_COMMAND_PATH)rpm
RPMBUILD = $(UTILS_COMMAND_PATH)rpmbuild
SCCS = $(UTILS_CCS_BIN_PATH)sccs
SED = $(UTILS_COMMAND_PATH)sed
SH = $(UTILS_COMMAND_PATH)sh
SHOWREV = $(UTILS_USR_BIN_PATH)showrev

View File

@@ -113,32 +113,38 @@ _system_drive:=$(call CheckValue,_system_drive,C:)
# UNIXCOMMAND_PATH: path to where the most common Unix commands are.
# NOTE: Must end with / so that it could be empty, allowing PATH usage.
ifdef ALT_UNIXCOMMAND_PATH
xALT_UNIXCOMMAND_PATH :="$(subst \,/,$(ALT_UNIXCOMMAND_PATH))"
fxALT_UNIXCOMMAND_PATH :=$(call FullPath,$(xALT_UNIXCOMMAND_PATH))
UNIXCOMMAND_PATH :=$(call PrefixPath,$(fxALT_UNIXCOMMAND_PATH))
else
ifdef USING_CYGWIN
UNIXCOMMAND_PATH :=$(call PrefixPath,/usr/bin)
ifndef UNIXCOMMAND_PATH
ifdef ALT_UNIXCOMMAND_PATH
xALT_UNIXCOMMAND_PATH :="$(subst \,/,$(ALT_UNIXCOMMAND_PATH))"
fxALT_UNIXCOMMAND_PATH :=$(call FullPath,$(xALT_UNIXCOMMAND_PATH))
UNIXCOMMAND_PATH :=$(call PrefixPath,$(fxALT_UNIXCOMMAND_PATH))
else
ifdef ROOTDIR
xROOTDIR :="$(subst \,/,$(ROOTDIR))"
_rootdir :=$(call FullPath,$(xROOTDIR))
ifdef USING_CYGWIN
UNIXCOMMAND_PATH :=$(call PrefixPath,/usr/bin)
else
xROOTDIR :="$(_system_drive)/mksnt"
_rootdir :=$(call FullPath,$(xROOTDIR))
endif
ifneq ($(_rootdir),)
UNIXCOMMAND_PATH :=$(call PrefixPath,$(_rootdir)/mksnt)
ifdef ROOTDIR
xROOTDIR :="$(subst \,/,$(ROOTDIR))"
_rootdir :=$(call FullPath,$(xROOTDIR))
else
xROOTDIR :="$(_system_drive)/mksnt"
_rootdir :=$(call FullPath,$(xROOTDIR))
endif
ifneq ($(_rootdir),)
UNIXCOMMAND_PATH :=$(call PrefixPath,$(_rootdir)/mksnt)
endif
endif
endif
UNIXCOMMAND_PATH:=$(call AltCheckSpaces,UNIXCOMMAND_PATH)
export UNIXCOMMAND_PATH
endif
UNIXCOMMAND_PATH:=$(call AltCheckSpaces,UNIXCOMMAND_PATH)
# Get version of MKS or CYGWIN
ifdef USING_CYGWIN
_CYGWIN_VER :=$(shell $(UNAME))
CYGWIN_VER :=$(call GetVersion,$(_CYGWIN_VER))
ifndef CYGWIN_VER
_CYGWIN_VER :=$(shell $(UNAME))
CYGWIN_VER :=$(call GetVersion,$(_CYGWIN_VER))
export CYGWIN_VER
endif
else # MKS
_MKS_VER :=$(shell $(MKSINFO) 2>&1 | $(GREP) Release | $(TAIL) -1 | $(SED) -e 's@.*\(Release.*\)@\1@')
MKS_VER :=$(call GetVersion,$(_MKS_VER))
@@ -168,235 +174,234 @@ endif # MKS
# Process Windows values into FullPath values, these paths may have \ chars
# System root
ifdef SYSTEMROOT
xSYSTEMROOT :="$(subst \,/,$(SYSTEMROOT))"
_system_root :=$(call FullPath,$(xSYSTEMROOT))
else
ifdef SystemRoot
xSYSTEMROOT :="$(subst \,/,$(SystemRoot))"
_system_root :=$(call FullPath,$(xSYSTEMROOT))
# Program Files directory
ifndef SHORTPROGRAMFILES
ifdef PROGRAMFILES
xPROGRAMFILES :="$(subst \,/,$(PROGRAMFILES))"
else
ifdef WINDIR
xWINDIR :="$(subst \,/,$(WINDIR))"
_system_root :=$(call FullPath,$(xWINDIR))
ifeq ($(ARCH_DATA_MODEL), 32)
xPROGRAMFILES :="$(_system_drive)/Program Files"
else
ifdef windir
xWINDIR :="$(subst \,/,$(windir))"
_system_root :=$(call FullPath,$(xWINDIR))
endif
xPROGRAMFILES :="$(_system_drive)/Program Files (x86)"
endif
endif
endif
_system_root:=$(call CheckValue,_system_root,$(_system_drive)/WINNT)
# Program Files directory
ifdef PROGRAMFILES
xPROGRAMFILES :="$(subst \,/,$(PROGRAMFILES))"
else
ifeq ($(ARCH_DATA_MODEL), 32)
xPROGRAMFILES :="$(_system_drive)/Program Files"
SHORTPROGRAMFILES :=$(call FullPath,$(xPROGRAMFILES))
else
xPROGRAMFILES :="$(_system_drive)/Program Files (x86)"
ifdef PROGRAMW6432
xPROGRAMW6432 :="$(subst \,/,$(PROGRAMW6432))"
else
xPROGRAMW6432 :="$(_system_drive)/Program Files"
endif
SHORTPROGRAMFILES :=$(call FullPath,$(xPROGRAMW6432))
endif
endif
ifeq ($(ARCH_DATA_MODEL), 32)
_program_files :=$(call FullPath,$(xPROGRAMFILES))
else
ifdef PROGRAMW6432
xPROGRAMW6432 :="$(subst \,/,$(PROGRAMW6432))"
else
xPROGRAMW6432 :="$(_system_drive)/Program Files"
ifneq ($(word 1,$(SHORTPROGRAMFILES)),$(SHORTPROGRAMFILES))
SHORTPROGRAMFILES :=
endif
_program_files :=$(call FullPath,$(xPROGRAMW6432))
_program_files32 :=$(call FullPath,$(xPROGRAMFILES))
ifneq ($(word 1,$(_program_files32)),$(_program_files32))
_program_files32:=
endif
endif
ifneq ($(word 1,$(_program_files)),$(_program_files))
_program_files:=
export SHORTPROGRAMFILES
endif
# Compilers, SDK, and Visual Studio (MSDEV) [32bit is different from 64bit]
ifeq ($(ARCH_DATA_MODEL), 32)
# Try looking in MSVCDIR or MSVCDir area first (set by vcvars32.bat)
ifdef MSVCDIR
xMSVCDIR :="$(subst \,/,$(MSVCDIR))"
_msvc_dir :=$(call FullPath,$(xMSVCDIR))
else
ifdef MSVCDir
xMSVCDIR :="$(subst \,/,$(MSVCDir))"
_msvc_dir :=$(call FullPath,$(xMSVCDIR))
ifndef SHORTMSVCDIR
# Try looking in MSVCDIR or MSVCDir area first (set by vcvars32.bat)
ifdef MSVCDIR
xMSVCDIR :="$(subst \,/,$(MSVCDIR))"
SHORTMSVCDIR :=$(call FullPath,$(xMSVCDIR))
else
ifneq ($(_program_files),)
xMSVCDIR :="$(_program_files)/Microsoft Visual Studio .NET 2003/Vc7"
_msvc_dir :=$(call FullPath,$(xMSVCDIR))
ifdef MSVCDir
xMSVCDIR :="$(subst \,/,$(MSVCDir))"
SHORTMSVCDIR :=$(call FullPath,$(xMSVCDIR))
else
ifneq ($(SHORTPROGRAMFILES),)
xMSVCDIR :="$(SHORTPROGRAMFILES)/Microsoft Visual Studio .NET 2003/Vc7"
SHORTMSVCDIR :=$(call FullPath,$(xMSVCDIR))
endif
endif
endif
endif
ifneq ($(subst MSDev98,OLDOLDOLD,$(_msvc_dir)),$(_msvc_dir))
_msvc_dir :=
endif
# If we still don't have it, look for VS71COMNTOOLS, setup by installer?
ifeq ($(_msvc_dir),)
ifdef VS71COMNTOOLS # /Common/Tools directory, use ../../Vc7
xVS71COMNTOOLS :="$(subst \,/,$(VS71COMNTOOLS))"
_vs71tools :=$(call FullPath,$(xVS71COMNTOOLS))
ifneq ($(subst MSDev98,OLDOLDOLD,$(SHORTMSVCDIR)),$(SHORTMSVCDIR))
SHORTMSVCDIR :=
endif
ifneq ($(_vs71tools),)
_msvc_dir :=$(_vs71tools)/../../Vc7
# If we still don't have it, look for VS71COMNTOOLS, setup by installer?
ifeq ($(SHORTMSVCDIR),)
ifdef VS71COMNTOOLS # /Common/Tools directory, use ../../Vc7
xVS71COMNTOOLS :="$(subst \,/,$(VS71COMNTOOLS))"
_vs71tools :=$(call FullPath,$(xVS71COMNTOOLS))
endif
ifneq ($(_vs71tools),)
SHORTMSVCDIR :=$(_vs71tools)/../../Vc7
endif
endif
export SHORTMSVCDIR
endif
ifneq ($(_msvc_dir),)
_compiler_bin :=$(_msvc_dir)/Bin
_redist_sdk :=$(_msvc_dir)/../SDK/v1.1/Bin
_ms_sdk :=$(_msvc_dir)/PlatformSDK
ifneq ($(SHORTMSVCDIR),)
SHORTCOMPILERBIN :=$(SHORTMSVCDIR)/Bin
SHORTPSDK :=$(SHORTMSVCDIR)/PlatformSDK
export SHORTCOMPILERBIN
export SHORTPSDK
endif
endif
# The Microsoft Platform SDK installed by itself
ifneq ($(_program_files),)
xPSDK :="$(_program_files)/Microsoft Platform SDK"
_psdk :=$(call FullPath,$(xPSDK))
ifeq ($(_psdk),)
xPSDK :="$(_program_files)/Microsoft SDK"
_psdk :=$(call FullPath,$(xMSSDK))
ifneq ($(SHORTPROGRAMFILES),)
ifndef SHORTPSDK
xPSDK :="$(SHORTPROGRAMFILES)/Microsoft Platform SDK"
SHORTPSDK :=$(call FullPath,$(xPSDK))
ifeq ($(SHORTPSDK),)
xPSDK :="$(SHORTPROGRAMFILES)/Microsoft SDK"
SHORTPSDK :=$(call FullPath,$(xMSSDK))
endif
export SHORTPSDK
endif
endif
# If no SDK found yet, look in other places
ifeq ($(_ms_sdk),)
ifndef SHORTPSDK
ifdef MSSDK
xMSSDK :="$(subst \,/,$(MSSDK))"
_ms_sdk :=$(call FullPath,$(xMSSDK))
xMSSDK :="$(subst \,/,$(MSSDK))"
SHORTPSDK :=$(call FullPath,$(xMSSDK))
else
ifdef MSSdk
xMSSDK :="$(subst \,/,$(MSSdk))"
_ms_sdk :=$(call FullPath,$(xMSSDK))
else
_ms_sdk :=$(_psdk)
xMSSDK :="$(subst \,/,$(MSSdk))"
SHORTPSDK :=$(call FullPath,$(xMSSDK))
endif
endif
export SHORTPSDK
endif
# Compilers for 64bit are from SDK
ifeq ($(ARCH_DATA_MODEL), 64)
xMSSDK61 :="C:/Program Files/Microsoft SDKs/Windows/v6.1/"
MSSDK61 :=$(call FullPath,$(xMSSDK61))
xVS2008 :="C:/Program Files (x86)/Microsoft Visual Studio 9.0/"
_vs2008 :=$(call FullPath,$(xVS2008))
ifneq ($(_vs2008),)
ifeq ($(ARCH), ia64)
_compiler_bin :=$(_vs2008)/VC/Bin/x86_ia64
endif
ifeq ($(ARCH), amd64)
_compiler_bin :=$(_vs2008)/VC/Bin/$(ARCH)
_redist_sdk :=$(MSSDK61)/VC/redist
endif
else
ifneq ($(_ms_sdk),)
ifndef SHORTCOMPILERBIN
xMSSDK61 :="C:/Program Files/Microsoft SDKs/Windows/v6.1/"
MSSDK61 :=$(call FullPath,$(xMSSDK61))
xVS2008 :="C:/Program Files (x86)/Microsoft Visual Studio 9.0/"
_vs2008 :=$(call FullPath,$(xVS2008))
ifneq ($(_vs2008),)
ifeq ($(ARCH), ia64)
_compiler_bin :=$(_ms_sdk)/Bin/Win64
SHORTCOMPILERBIN :=$(_vs2008)/VC/Bin/x86_ia64
endif
ifeq ($(ARCH), amd64)
_compiler_bin :=$(_ms_sdk)/Bin/Win64/x86/$(ARCH)
_redist_sdk :=$(_ms_sdk)/redist/win64/AMD64
SHORTCOMPILERBIN :=$(_vs2008)/VC/Bin/$(ARCH)
endif
else
ifneq ($(SHORTPSDK),)
ifeq ($(ARCH), ia64)
SHORTCOMPILERBIN :=$(SHORTPSDK)/Bin/Win64
endif
ifeq ($(ARCH), amd64)
SHORTCOMPILERBIN :=$(SHORTPSDK)/Bin/Win64/x86/$(ARCH)
endif
endif
endif
export SHORTCOMPILERBIN
endif
endif
# Location on system where jdk installs might be
ifneq ($(_program_files),)
USRJDKINSTANCES_PATH =$(_program_files)/Java
ifneq ($(SHORTPROGRAMFILES),)
USRJDKINSTANCES_PATH =$(SHORTPROGRAMFILES)/Java
else
USRJDKINSTANCES_PATH =$(_system_drive)/
endif
# SLASH_JAVA: location of all network accessable files
ifdef ALT_SLASH_JAVA
xALT_SLASH_JAVA :="$(subst \,/,$(ALT_SLASH_JAVA))"
SLASH_JAVA :=$(call FullPath,$(xALT_SLASH_JAVA))
else
ifdef ALT_JDK_JAVA_DRIVE
SLASH_JAVA =$(JDK_JAVA_DRIVE)
ifndef SLASH_JAVA
ifdef ALT_SLASH_JAVA
xALT_SLASH_JAVA :="$(subst \,/,$(ALT_SLASH_JAVA))"
SLASH_JAVA :=$(call FullPath,$(xALT_SLASH_JAVA))
else
SLASH_JAVA =J:
ifdef ALT_JDK_JAVA_DRIVE
SLASH_JAVA =$(JDK_JAVA_DRIVE)
else
SLASH_JAVA =J:
endif
endif
SLASH_JAVA:=$(call AltCheckSpaces,SLASH_JAVA)
SLASH_JAVA:=$(call AltCheckValue,SLASH_JAVA)
export SLASH_JAVA
endif
SLASH_JAVA:=$(call AltCheckSpaces,SLASH_JAVA)
SLASH_JAVA:=$(call AltCheckValue,SLASH_JAVA)
# JDK_DEVTOOLS_DIR: common path for all the java devtools
ifdef ALT_JDK_DEVTOOLS_DIR
xALT_JDK_DEVTOOLS_DIR :="$(subst \,/,$(ALT_JDK_DEVTOOLS_DIR))"
JDK_DEVTOOLS_DIR :=$(call FullPath,$(xALT_JDK_DEVTOOLS_DIR))
else
JDK_DEVTOOLS_DIR =$(SLASH_JAVA)/devtools
ifndef JDK_DEVTOOLS_DIR
ifdef ALT_JDK_DEVTOOLS_DIR
xALT_JDK_DEVTOOLS_DIR :="$(subst \,/,$(ALT_JDK_DEVTOOLS_DIR))"
JDK_DEVTOOLS_DIR :=$(call FullPath,$(xALT_JDK_DEVTOOLS_DIR))
else
JDK_DEVTOOLS_DIR =$(SLASH_JAVA)/devtools
endif
JDK_DEVTOOLS_DIR:=$(call AltCheckSpaces,JDK_DEVTOOLS_DIR)
JDK_DEVTOOLS_DIR:=$(call AltCheckValue,JDK_DEVTOOLS_DIR)
export JDK_DEVTOOLS_DIR
endif
JDK_DEVTOOLS_DIR:=$(call AltCheckSpaces,JDK_DEVTOOLS_DIR)
JDK_DEVTOOLS_DIR:=$(call AltCheckValue,JDK_DEVTOOLS_DIR)
# COMPILER_PATH: path to where the compiler and tools are installed.
# NOTE: Must end with / so that it could be empty, allowing PATH usage.
ifdef ALT_COMPILER_PATH
xALT_COMPILER_PATH :="$(subst \,/,$(ALT_COMPILER_PATH))"
fxALT_COMPILER_PATH :=$(call FullPath,$(xALT_COMPILER_PATH))
COMPILER_PATH :=$(call PrefixPath,$(fxALT_COMPILER_PATH))
else
COMPILER_PATH :=$(call PrefixPath,$(_compiler_bin))
ifndef COMPILER_PATH
ifdef ALT_COMPILER_PATH
xALT_COMPILER_PATH :="$(subst \,/,$(ALT_COMPILER_PATH))"
fxALT_COMPILER_PATH :=$(call FullPath,$(xALT_COMPILER_PATH))
COMPILER_PATH :=$(call PrefixPath,$(fxALT_COMPILER_PATH))
else
COMPILER_PATH :=$(call PrefixPath,$(SHORTCOMPILERBIN))
endif
COMPILER_PATH :=$(call AltCheckSpaces,COMPILER_PATH)
export COMPILER_PATH
endif
COMPILER_PATH :=$(call AltCheckSpaces,COMPILER_PATH)
# MSDEVTOOLS_PATH: path to where the additional MS Compiler tools are.
# NOTE: Must end with / so that it could be empty, allowing PATH usage.
ifdef ALT_MSDEVTOOLS_PATH
xALT_MSDEVTOOLS_PATH :="$(subst \,/,$(ALT_MSDEVTOOLS_PATH))"
fxALT_MSDEVTOOLS_PATH :=$(call FullPath,$(xALT_MSDEVTOOLS_PATH))
MSDEVTOOLS_PATH :=$(call PrefixPath,$(fxALT_MSDEVTOOLS_PATH))
else
ifeq ($(ARCH_DATA_MODEL), 64)
ifdef MSTOOLS
xMSTOOLS :="$(subst \,/,$(MSTOOLS))"
_ms_tools :=$(call FullPath,$(xMSTOOLS))
else
ifdef Mstools
xMSTOOLS :="$(subst \,/,$(Mstools))"
ifndef MSDEVTOOLS_PATH
ifdef ALT_MSDEVTOOLS_PATH
xALT_MSDEVTOOLS_PATH :="$(subst \,/,$(ALT_MSDEVTOOLS_PATH))"
fxALT_MSDEVTOOLS_PATH :=$(call FullPath,$(xALT_MSDEVTOOLS_PATH))
MSDEVTOOLS_PATH :=$(call PrefixPath,$(fxALT_MSDEVTOOLS_PATH))
else
ifeq ($(ARCH_DATA_MODEL), 64)
ifdef MSTOOLS
xMSTOOLS :="$(subst \,/,$(MSTOOLS))"
_ms_tools :=$(call FullPath,$(xMSTOOLS))
else
_ms_tools :=
ifdef Mstools
xMSTOOLS :="$(subst \,/,$(Mstools))"
_ms_tools :=$(call FullPath,$(xMSTOOLS))
else
_ms_tools :=
endif
endif
ifneq ($(_ms_tools),)
_ms_tools_bin :=$(_ms_tools)/Bin
else
# Assumes compiler bin is .../Bin/win64/x86/AMD64, rc.exe is 3 levels up
_ms_tools_bin :=$(SHORTCOMPILERBIN)/../../..
endif
endif
ifneq ($(_ms_tools),)
_ms_tools_bin :=$(_ms_tools)/Bin
else
# Assumes compiler bin is .../Bin/win64/x86/AMD64, rc.exe is 3 levels up
_ms_tools_bin :=$(_compiler_bin)/../../..
_ms_tools_bin :=$(SHORTCOMPILERBIN)
endif
else
_ms_tools_bin :=$(_compiler_bin)
MSDEVTOOLS_PATH :=$(call PrefixPath,$(_ms_tools_bin))
endif
MSDEVTOOLS_PATH :=$(call PrefixPath,$(_ms_tools_bin))
MSDEVTOOLS_PATH:=$(call AltCheckSpaces,MSDEVTOOLS_PATH)
export MSDEVTOOLS_PATH
endif
MSDEVTOOLS_PATH:=$(call AltCheckSpaces,MSDEVTOOLS_PATH)
# DEVTOOLS_PATH: for other tools required for building (such as zip, etc.)
# NOTE: Must end with / so that it could be empty, allowing PATH usage.
ifdef ALT_DEVTOOLS_PATH
xALT_DEVTOOLS_PATH :="$(subst \,/,$(ALT_DEVTOOLS_PATH))"
fxALT_DEVTOOLS_PATH :=$(call FullPath,$(xALT_DEVTOOLS_PATH))
DEVTOOLS_PATH :=$(call PrefixPath,$(fxALT_DEVTOOLS_PATH))
else
ifdef USING_CYGWIN
DEVTOOLS_PATH :=$(UNIXCOMMAND_PATH)
ifndef DEVTOOLS_PATH
ifdef ALT_DEVTOOLS_PATH
xALT_DEVTOOLS_PATH :="$(subst \,/,$(ALT_DEVTOOLS_PATH))"
fxALT_DEVTOOLS_PATH :=$(call FullPath,$(xALT_DEVTOOLS_PATH))
DEVTOOLS_PATH :=$(call PrefixPath,$(fxALT_DEVTOOLS_PATH))
else
xDEVTOOLS_PATH :="$(_system_drive)/utils"
fxDEVTOOLS_PATH :=$(call FullPath,$(xDEVTOOLS_PATH))
DEVTOOLS_PATH :=$(call PrefixPath,$(fxDEVTOOLS_PATH))
ifdef USING_CYGWIN
DEVTOOLS_PATH :=$(UNIXCOMMAND_PATH)
else
xDEVTOOLS_PATH :="$(_system_drive)/utils"
fxDEVTOOLS_PATH :=$(call FullPath,$(xDEVTOOLS_PATH))
DEVTOOLS_PATH :=$(call PrefixPath,$(fxDEVTOOLS_PATH))
endif
endif
DEVTOOLS_PATH:=$(call AltCheckSpaces,DEVTOOLS_PATH)
export DEVTOOLS_PATH
endif
DEVTOOLS_PATH:=$(call AltCheckSpaces,DEVTOOLS_PATH)
# _BOOTDIR1: First choice for a Bootstrap JDK, previous released JDK.
# _BOOTDIR2: Second choice
@@ -410,20 +415,26 @@ endif
# BUILD_JDK_IMPORT_PATH: location of JDK install trees to import for
# multiple platforms, e.g. windows-i586, solaris-sparc, linux-586, etc.
ifdef ALT_BUILD_JDK_IMPORT_PATH
BUILD_JDK_IMPORT_PATH :=$(call FullPath,$(ALT_BUILD_JDK_IMPORT_PATH))
else
BUILD_JDK_IMPORT_PATH = $(PROMOTED_BUILD_BINARIES)
ifndef BUILD_JDK_IMPORT_PATH
ifdef ALT_BUILD_JDK_IMPORT_PATH
BUILD_JDK_IMPORT_PATH :=$(call FullPath,$(ALT_BUILD_JDK_IMPORT_PATH))
else
BUILD_JDK_IMPORT_PATH = $(PROMOTED_BUILD_BINARIES)
endif
BUILD_JDK_IMPORT_PATH:=$(call AltCheckSpaces,BUILD_JDK_IMPORT_PATH)
BUILD_JDK_IMPORT_PATH:=$(call AltCheckValue,BUILD_JDK_IMPORT_PATH)
export BUILD_JDK_IMPORT_PATH
endif
BUILD_JDK_IMPORT_PATH:=$(call AltCheckSpaces,BUILD_JDK_IMPORT_PATH)
BUILD_JDK_IMPORT_PATH:=$(call AltCheckValue,BUILD_JDK_IMPORT_PATH)
# JDK_IMPORT_PATH: location of previously built JDK (this version) to import
ifdef ALT_JDK_IMPORT_PATH
JDK_IMPORT_PATH :=$(call FullPath,$(ALT_JDK_IMPORT_PATH))
else
JDK_IMPORT_PATH = $(BUILD_JDK_IMPORT_PATH)/$(PLATFORM)-$(ARCH)$(_JDK_IMPORT_VARIANT)
ifndef JDK_IMPORT_PATH
ifdef ALT_JDK_IMPORT_PATH
JDK_IMPORT_PATH :=$(call FullPath,$(ALT_JDK_IMPORT_PATH))
else
JDK_IMPORT_PATH = $(BUILD_JDK_IMPORT_PATH)/$(PLATFORM)-$(ARCH)$(_JDK_IMPORT_VARIANT)
endif
JDK_IMPORT_PATH:=$(call AltCheckSpaces,JDK_IMPORT_PATH)
JDK_IMPORT_PATH:=$(call AltCheckValue,JDK_IMPORT_PATH)
export JDK_IMPORT_PATH
endif
JDK_IMPORT_PATH:=$(call AltCheckSpaces,JDK_IMPORT_PATH)
JDK_IMPORT_PATH:=$(call AltCheckValue,JDK_IMPORT_PATH)

View File

@@ -228,12 +228,15 @@ else
endif
# FULL_VERSION is RELEASE and -BUILD_NUMBER if BUILD_NUMBER is set
ifdef BUILD_NUMBER
FULL_VERSION = $(RELEASE)-$(BUILD_NUMBER)
else
BUILD_NUMBER = b00
USER_RELEASE_SUFFIX := $(shell echo $(USER)_`date '+%d_%b_%Y_%H_%M' | tr "A-Z" "a-z"`)
FULL_VERSION = $(RELEASE)-$(USER_RELEASE_SUFFIX)-$(BUILD_NUMBER)
ifndef FULL_VERSION
ifdef BUILD_NUMBER
FULL_VERSION = $(RELEASE)-$(BUILD_NUMBER)
else
BUILD_NUMBER = b00
USER_RELEASE_SUFFIX := $(shell echo $(USER)_`date '+%d_%b_%Y_%H_%M' | tr "A-Z" "a-z"`)
FULL_VERSION = $(RELEASE)-$(USER_RELEASE_SUFFIX)-$(BUILD_NUMBER)
endif
export FULL_VERSION
endif
# Promoted build location

View File

@@ -84,21 +84,14 @@ PLATFORM_SHARED=done
# REQUIRED_LINUX_VER linux only: required version of linux
# REQUIRED_LINUX_FULLVER linux only: required full version of linux
SYSTEM_UNAME := $(shell uname)
ifndef SYSTEM_UNAME
SYSTEM_UNAME := $(shell uname)
export SYSTEM_UNAME
endif
# Normal boot jdk is previous release, but a hard requirement is a 1.5 boot
REQUIRED_BOOT_VER = 1.5
#
# Prune out all known SCM (Source Code Management) directories
# so they will not be included when copying directory trees
# or packaging up .jar files, etc. This applies to all workspaces.
#
SCM_DIRs = .hg .svn CVS RCS SCCS Codemgr_wsdata deleted_files
# When changing SCM_DIRs also change SCM_DIRS_rexp and SCM_DIRS_prune:
SCM_DIRS_rexp = ".hg|.svn|CVS|RCS|SCCS|Codemgr_wsdata|deleted_files"
SCM_DIRS_prune = \( -name .hg -o -name .svn -o -name CVS -o -name RCS -o -name SCCS -o -name Codemgr_wsdata -o -name deleted_files \) -prune
# Don't define this unless it's not defined
ifndef VARIANT
VARIANT=OPT
@@ -194,6 +187,9 @@ ifeq ($(SYSTEM_UNAME), Linux)
sparc*) \
echo sparc \
;; \
arm*) \
echo arm \
;; \
*) \
echo $(mach) \
;; \
@@ -372,14 +368,17 @@ ifeq ($(PLATFORM), windows)
REQUIRED_FREE_SPACE=500000
OS_VENDOR = Microsoft
# How much RAM does this machine have:
MB_OF_MEMORY := $(shell \
if [ -f "C:/cygwin/bin/free.exe" ] ; then \
( C:/cygwin/bin/bash.exe -c "C:/cygwin/bin/free.exe -m" ) | \
grep Mem: | \
sed -e 's@\ \ *@ @g' | cut -d' ' -f2 ; \
else \
echo "512"; \
fi)
ifndef MB_OF_MEMORY
MB_OF_MEMORY := $(shell \
if [ -f "C:/cygwin/bin/free.exe" ] ; then \
( C:/cygwin/bin/bash.exe -c "C:/cygwin/bin/free.exe -m" ) | \
grep Mem: | \
sed -e 's@\ \ *@ @g' | cut -d' ' -f2 ; \
else \
echo "512"; \
fi)
export MB_OF_MEMORY
endif
endif
# Machines with 512Mb or less of real memory are considered low memory
@@ -387,30 +386,36 @@ endif
# system swapping during the build.
# If we don't know, assume 512. Subtract 128 from MB for VM MAX.
# Don't set VM max over 1024-128=896.
ifneq ($(MB_OF_MEMORY),)
LOW_MEMORY_MACHINE := $(shell \
if [ $(MB_OF_MEMORY) -le 512 ] ; then \
echo "true"; \
else \
echo "false"; \
fi)
MAX_VM_MEMORY := $(shell \
if [ $(MB_OF_MEMORY) -le 1024 ] ; then \
expr $(MB_OF_MEMORY) '-' 128 ; \
else \
echo "896"; \
fi)
MIN_VM_MEMORY := $(shell \
if [ $(MAX_VM_MEMORY) -le 128 ] ; then \
expr $(MAX_VM_MEMORY) '-' 8 ; \
else \
echo "128"; \
fi)
else
MB_OF_MEMORY := unknown
LOW_MEMORY_MACHINE := true
MAX_VM_MEMORY := 384
MIN_VM_MEMORY := 128
ifndef MAX_VM_MEMORY
ifneq ($(MB_OF_MEMORY),)
LOW_MEMORY_MACHINE := $(shell \
if [ $(MB_OF_MEMORY) -le 512 ] ; then \
echo "true"; \
else \
echo "false"; \
fi)
MAX_VM_MEMORY := $(shell \
if [ $(MB_OF_MEMORY) -le 1024 ] ; then \
expr $(MB_OF_MEMORY) '-' 128 ; \
else \
echo "896"; \
fi)
MIN_VM_MEMORY := $(shell \
if [ $(MAX_VM_MEMORY) -le 128 ] ; then \
expr $(MAX_VM_MEMORY) '-' 8 ; \
else \
echo "128"; \
fi)
else
MB_OF_MEMORY := unknown
LOW_MEMORY_MACHINE := true
MAX_VM_MEMORY := 384
MIN_VM_MEMORY := 128
endif
export MAX_VM_MEMORY
export MIN_VM_MEMORY
export LOW_MEMORY_MACHINE
export MAX_VM_MEMORY
endif
REQUIRED_ZIP_VER = 2.2

View File

@@ -34,8 +34,8 @@ solaris_i586_5.10,\
solaris_x64_5.10,\
linux_i586_2.6,\
linux_x64_2.6,\
windows_i586,\
windows_x64
windows_i586_5.0,\
windows_x64_5.2
# The different build flavors we want
jprt.build.flavors=product,fastdebug

View File

@@ -123,7 +123,7 @@ public abstract class Expression
/**
* Coerces a number to the target type of this expression.
* @parm number The number to coerce.
* @param obj The number to coerce.
* @return the value of number coerced to the (target) type of
* this expression.
**/
@@ -142,7 +142,7 @@ public abstract class Expression
/**
* Coerces an integral value (BigInteger) to its corresponding unsigned
* representation, if the target type of this expression is unsigned.
* @parm b The BigInteger to be coerced.
* @param b The BigInteger to be coerced.
* @return the value of an integral type coerced to its corresponding
* unsigned integral type, if the target type of this expression is
* unsigned.
@@ -170,7 +170,7 @@ public abstract class Expression
/**
* Coerces an integral value (BigInteger) to its corresponding signed
* representation, if the target type of this expression is signed.
* @parm b The BigInteger to be coerced.
* @param b The BigInteger to be coerced.
* @return the value of an integral type coerced to its corresponding
* signed integral type, if the target type of this expression is
* signed.

View File

@@ -161,7 +161,7 @@ public class PortableRemoteObject {
* happens implicitly when the object is sent or received as an argument
* on a remote method call, but in some circumstances it is useful to
* perform this action by making an explicit call. See the
* {@link Stub#connect} method for more information.
* {@link javax.rmi.CORBA.Stub#connect} method for more information.
* @param target the object to connect.
* @param source a previously connected object.
* @throws RemoteException if <code>source</code> is not connected

View File

@@ -31,7 +31,7 @@ package org.omg.CORBA;
* indicate whether policies should replace the
* existing policies of an <code>Object</code> or be added to them.
* <P>
* The method {@link omg.org.CORBA.Object._set_policy_override} takes
* The method {@link org.omg.CORBA.Object#_set_policy_override} takes
* either <code>SetOverrideType.SET_OVERRIDE</code> or
* <code>SetOverrideType.ADD_OVERRIDE</code> as its second argument.
* The method <code>_set_policy_override</code>

View File

@@ -545,8 +545,6 @@ public class TCKind {
* @param _value the <code>int</code> to convert. It must be one of
* the <code>int</code> constants in the class
* <code>TCKind</code>.
* @return a new <code>TCKind</code> instance whose <code>value</code>
* field matches the given <code>int</code>
*/
@Deprecated
protected TCKind(int _value){

View File

@@ -56,7 +56,7 @@ public final class UnknownUserException extends UserException {
* Constructs an <code>UnknownUserException</code> object that contains the given
* <code>Any</code> object.
*
* @ param a an <code>Any</code> object that contains a user exception returned
* @param a an <code>Any</code> object that contains a user exception returned
* by the server
*/
public UnknownUserException(Any a) {

View File

@@ -43,7 +43,6 @@ public class ServantObject
/** The real servant. The local stub may cast this field to the expected type, and then
* invoke the operation directly. Note, the object may or may not be the actual servant
* instance.
* @return The real servant
*/
public java.lang.Object servant;
}

View File

@@ -256,7 +256,7 @@ module CosNaming
*
* @param n Name of the object <p>
*
* @parm obj The Object to rebind with the given name <p>
* @param obj The Object to rebind with the given name <p>
*
* @exception org.omg.CosNaming.NamingContextPackage.NotFound Indicates the name does not identify a binding.<p>
*

View File

@@ -1730,7 +1730,7 @@ module PortableInterceptor {
* <p>
* Any number of components may exist with the same component ID.
*
* @param a_component The IOP.TaggedComponent to add.
* @param tagged_component The IOP.TaggedComponent to add.
*/
void add_ior_component
(in IOP::TaggedComponent tagged_component);
@@ -1744,7 +1744,7 @@ module PortableInterceptor {
* <p>
* Any number of components may exist with the same component ID.
*
* @param a_component The <code>IOP.TaggedComponent</code> to add.
* @param tagged_component The <code>IOP.TaggedComponent</code> to add.
* @param profile_id The profile id of the profile to
* which this component will be added.
* @exception BAD_PARAM thrown, with a standard minor code of 29, if the

View File

@@ -1,6 +1,6 @@
^build/
^dist/
^nbproject/private/
/nbproject/private/
^src/share/tools/hsdis/build/
^src/share/tools/IdealGraphVisualizer/[a-zA-Z0-9]*/build/
^src/share/tools/IdealGraphVisualizer/build/

View File

@@ -43,3 +43,43 @@ ba313800759b678979434d6da8ed3bf49eb8bea4 jdk7-b65
57c71ad0341b8b64ed20f81151eb7f06324f8894 jdk7-b66
18f526145aea355a9320b724373386fc2170f183 jdk7-b67
d07e68298d4e17ebf93d8299e43fcc3ded26472a jdk7-b68
54fd4d9232969ea6cd3d236e5ad276183bb0d423 jdk7-b69
0632c3e615a315ff11e2ab1d64f4d82ff9853461 jdk7-b70
50a95aa4a247f0cbbf66df285a8b1d78ffb153d9 jdk7-b71
a94714c550658fd6741793ef036cb9625dc2ab1a jdk7-b72
faf94d94786b621f8e13cbcc941ca69c6d967c3f jdk7-b73
f4b900403d6e4b0af51447bd13bbe23fe3a1dac7 jdk7-b74
d8dd291a362acb656026a9c0a9da48501505a1e7 jdk7-b75
9174bb32e934965288121f75394874eeb1fcb649 jdk7-b76
455105fc81d941482f8f8056afaa7aa0949c9300 jdk7-b77
e703499b4b51e3af756ae77c3d5e8b3058a14e4e jdk7-b78
a5a6adfca6ecefb5894a848debabfe442ff50e25 jdk7-b79
3003ddd1d4330b06cb4691ae74d600d3685899eb jdk7-b80
1f9b07674480c224828852ffe137beea36b3cab5 jdk7-b81
1999f5b12482d66c8b0daf6709daea4f51893a04 jdk7-b82
a94714c550658fd6741793ef036cb9625dc2ab1a hs17-b01
faf94d94786b621f8e13cbcc941ca69c6d967c3f hs17-b02
f4b900403d6e4b0af51447bd13bbe23fe3a1dac7 hs17-b03
d8dd291a362acb656026a9c0a9da48501505a1e7 hs17-b04
9174bb32e934965288121f75394874eeb1fcb649 hs17-b05
a5a6adfca6ecefb5894a848debabfe442ff50e25 hs17-b06
3003ddd1d4330b06cb4691ae74d600d3685899eb hs17-b07
1f9b07674480c224828852ffe137beea36b3cab5 hs17-b08
ff3232b68fbb35185b338d7ff4695b52460243f3 hs17-b09
981375ca07b7f0605f92f57aad95122e8c385a4d hs16-b01
f4cbf78110c726919f46b59a3b054c54c7e889b4 hs16-b02
07c1c01e031513bfe6a7d17c6cf30d2752824ae9 hs16-b03
08f86fa55a31113df626a75c8a626e66a543a1bd hs16-b04
32c83fb84370a35344676991a48440378e6b6c8a hs16-b05
ba313800759b678979434d6da8ed3bf49eb8bea4 hs16-b06
3c0f729815607e1678bd0c41ae68494c700dcc71 hs16-b07
ac59d4e6dae51ac5fc31a9a4940d1857f91161b1 hs16-b08
3f844a28c5f4912bd04043b44f21b25b0805ffc2 hs15-b01
1605bb4eb5a7a1703b13d5b077a22cc665fe45f7 hs15-b02
2581d90c6c9b2012da930eb4742add94a03069a0 hs15-b03
9ab385cb0c42997e16a7761ebcd25c90560a2714 hs15-b04
fafab5d5349c7c066d677538db67a1ee0fb33bd2 hs15-b05
3f370a32906eb5ba993fabd7b4279be7f31052b9 jdk7-b83
ffc8d176b84bcfb5ac21302b4feb3b0c0d69b97c jdk7-b84
6c9796468b91dcbb39e09dfa1baf9779ac45eb66 jdk7-b85
418bc80ce13995149eadc9eecbba21d7a9fa02ae hs17-b10

View File

@@ -32,7 +32,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
--- end of LICENSE file ---
%% This notice is provided with respect to ASM, which may be included with this software:
Copyright (c) 2000-2005 INRIA, France Telecom
Copyright (c) 2000-2007 INRIA, France Telecom
All rights reserved.
Redistribution and use in source and binary forms, with or without

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2003-2009 Sun Microsystems, Inc. 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
@@ -48,6 +48,16 @@ if [ "$OS" = "Linux" ]; then
CPU=i386
fi
else
# configure audit helper library if SA_ALTROOT is set
if [ -n "$SA_ALTROOT" ]; then
LD_AUDIT_32=$STARTDIR/../src/os/solaris/proc/`uname -p`/libsaproc_audit.so
export LD_AUDIT_32
if [ ! -f $LD_AUDIT_32 ]; then
echo "SA_ALTROOT is set and can't find libsaproc_audit.so."
echo "Make sure to build it with 'make natives'."
exit 1
fi
fi
SA_LIBPATH=$STARTDIR/../src/os/solaris/proc/`uname -p`:$STARTDIR/solaris/`uname -p`
OPTIONS="-Dsa.library.path=$SA_LIBPATH -Dsun.jvm.hotspot.debugger.useProcDebugger"
CPU=sparc

View File

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2003-2009 Sun Microsystems, Inc. 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
@@ -43,6 +43,16 @@ else
fi
fi
# configure audit helper library if SA_ALTROOT is set
if [ -n "$SA_ALTROOT" ]; then
LD_AUDIT_64=$STARTDIR/../src/os/solaris/proc/$CPU/libsaproc_audit.so
export LD_AUDIT_64
if [ ! -f $LD_AUDIT_64 ]; then
echo "SA_ALTROOT is set and can't find libsaproc_audit.so."
echo "Make sure to build it with 'make natives'."
exit 1
fi
fi
SA_LIBPATH=$STARTDIR/../src/os/solaris/proc/$CPU:$STARTDIR/solaris/$CPU
OPTIONS="-Dsa.library.path=$SA_LIBPATH -Dsun.jvm.hotspot.debugger.useProcDebugger"

View File

@@ -1,5 +1,5 @@
#
# Copyright 2002-2006 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2002-2009 Sun Microsystems, Inc. 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
@@ -56,24 +56,28 @@ i386:: javahomecheck
@javah -classpath $(CLASSES_DIR) -jni sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal
CC -G -KPIC -I${JAVA_HOME}/include -I${JAVA_HOME}/include/solaris saproc.cpp \
-M mapfile -o $@/libsaproc.so -ldemangle
CC -o $@/libsaproc_audit.so -G -Kpic -z defs saproc_audit.cpp -lmapmalloc -ldl -lc
amd64:: javahomecheck
$(MKDIRS) $@
@javah -classpath $(CLASSES_DIR) -jni sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal
CC -G -KPIC -xarch=amd64 -I${JAVA_HOME}/include -I${JAVA_HOME}/include/solaris saproc.cpp \
-M mapfile -o $@/libsaproc.so -ldemangle
CC -xarch=amd64 -o $@/libsaproc_audit.so -G -Kpic -z defs saproc_audit.cpp -lmapmalloc -ldl -lc
sparc:: javahomecheck
$(MKDIRS) $@
@javah -classpath $(CLASSES_DIR) -jni sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal
CC -G -KPIC -xarch=v8 -I${JAVA_HOME}/include -I${JAVA_HOME}/include/solaris saproc.cpp \
-M mapfile -o $@/libsaproc.so -ldemangle
CC -xarch=v8 -o $@/libsaproc_audit.so -G -Kpic -z defs saproc_audit.cpp -lmapmalloc -ldl -lc
sparcv9:: javahomecheck
$(MKDIRS) $@
@javah -classpath $(CLASSES_DIR) -jni sun.jvm.hotspot.debugger.proc.ProcDebuggerLocal
CC -G -KPIC -xarch=v9 -I${JAVA_HOME}/include -I${JAVA_HOME}/include/solaris saproc.cpp \
-M mapfile -o $@/libsaproc.so -ldemangle
CC -xarch=v9 -o $@/libsaproc_audit.so -G -Kpic -z defs saproc_audit.cpp -lmapmalloc -ldl -lc
clean::
$(RM) -rf sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal.h

View File

@@ -1,7 +1,7 @@
#
#
# Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2003-2009 Sun Microsystems, Inc. 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
@@ -45,6 +45,8 @@ SUNWprivate_1.1 {
Java_sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal_resume0;
Java_sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal_suspend0;
Java_sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal_writeBytesToProcess0;
# this is needed by saproc_audit.c to redirect opens in libproc.so
libsaproc_open;
local:
*;
};

View File

@@ -214,49 +214,58 @@ static void init_alt_root() {
}
}
static int find_file_hook(const char * name, int elf_checksum) {
init_alt_root();
// This function is a complete substitute for the open system call
// since it's also used to override open calls from libproc to
// implement as a pathmap style facility for the SA. If libproc
// starts using other interfaces then this might have to extended to
// cover other calls.
extern "C" int libsaproc_open(const char * name, int oflag, ...) {
if (oflag == O_RDONLY) {
init_alt_root();
if (_libsaproc_debug) {
printf("libsaproc DEBUG: find_file_hook %s 0x%x\n", name, elf_checksum);
}
if (alt_root_len > 0) {
int fd = -1;
char alt_path[PATH_MAX+1];
strcpy(alt_path, alt_root);
strcat(alt_path, name);
fd = open(alt_path, O_RDONLY);
if (fd >= 0) {
if (_libsaproc_debug) {
printf("libsaproc DEBUG: find_file_hook substituted %s\n", alt_path);
}
return fd;
if (_libsaproc_debug) {
printf("libsaproc DEBUG: libsaproc_open %s\n", name);
}
if (strrchr(name, '/')) {
if (alt_root_len > 0) {
int fd = -1;
char alt_path[PATH_MAX+1];
strcpy(alt_path, alt_root);
strcat(alt_path, strrchr(name, '/'));
strcat(alt_path, name);
fd = open(alt_path, O_RDONLY);
if (fd >= 0) {
if (_libsaproc_debug) {
printf("libsaproc DEBUG: find_file_hook substituted %s\n", alt_path);
printf("libsaproc DEBUG: libsaproc_open substituted %s\n", alt_path);
}
return fd;
}
if (strrchr(name, '/')) {
strcpy(alt_path, alt_root);
strcat(alt_path, strrchr(name, '/'));
fd = open(alt_path, O_RDONLY);
if (fd >= 0) {
if (_libsaproc_debug) {
printf("libsaproc DEBUG: libsaproc_open substituted %s\n", alt_path);
}
return fd;
}
}
}
}
return -1;
{
mode_t mode;
va_list ap;
va_start(ap, oflag);
mode = va_arg(ap, mode_t);
va_end(ap);
return open(name, oflag, mode);
}
}
static int pathmap_open(const char* name) {
int fd = open(name, O_RDONLY);
if (fd < 0) {
fd = find_file_hook(name, 0);
}
return fd;
}
static void * pathmap_dlopen(const char * name, int mode) {
init_alt_root();
@@ -608,7 +617,7 @@ init_classsharing_workaround(void *cd, const prmap_t* pmap, const char* obj_name
print_debug("looking for %s\n", classes_jsa);
// open the classes[_g].jsa
int fd = pathmap_open(classes_jsa);
int fd = libsaproc_open(classes_jsa, O_RDONLY);
if (fd < 0) {
char errMsg[ERR_MSG_SIZE];
sprintf(errMsg, "can't open shared archive file %s", classes_jsa);
@@ -1209,8 +1218,6 @@ JNIEXPORT jstring JNICALL Java_sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal_d
return res;
}
typedef int (*find_file_hook_t)(const char *, int elf_checksum);
/*
* Class: sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal
* Method: initIDs
@@ -1230,16 +1237,6 @@ JNIEXPORT void JNICALL Java_sun_jvm_hotspot_debugger_proc_ProcDebuggerLocal_init
if (libproc_handle == 0)
THROW_NEW_DEBUGGER_EXCEPTION("can't load libproc.so, if you are using Solaris 5.7 or below, copy libproc.so from 5.8!");
// If possible, set shared object find file hook.
void (*set_hook)(find_file_hook_t) = (void(*)(find_file_hook_t))dlsym(libproc_handle, "Pset_find_file_hook");
if (set_hook) {
// we found find file hook symbol, set up our hook function.
set_hook(find_file_hook);
} else if (getenv(SA_ALTROOT)) {
printf("libsaproc WARNING: %s set, but can't set file hook. " \
"Did you use right version of libproc.so?\n", SA_ALTROOT);
}
p_ps_prochandle_ID = env->GetFieldID(clazz, "p_ps_prochandle", "J");
CHECK_EXCEPTION;

View File

@@ -0,0 +1,98 @@
/*
* Copyright 2009 Sun Microsystems, Inc. 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
* CA 95054 USA or visit www.sun.com if you need additional information or
* have any questions.
*
*/
#include <link.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <limits.h>
#include <varargs.h>
// This class sets up an interposer on open calls from libproc.so to
// support a pathmap facility in the SA.
static uintptr_t* libproc_cookie;
static uintptr_t* libc_cookie;
static uintptr_t* libsaproc_cookie;
uint_t
la_version(uint_t version)
{
return (LAV_CURRENT);
}
uint_t
la_objopen(Link_map * lmp, Lmid_t lmid, uintptr_t * cookie)
{
if (strstr(lmp->l_name, "/libproc.so") != NULL) {
libproc_cookie = cookie;
return LA_FLG_BINDFROM;
}
if (strstr(lmp->l_name, "/libc.so") != NULL) {
libc_cookie = cookie;
return LA_FLG_BINDTO;
}
if (strstr(lmp->l_name, "/libsaproc.so") != NULL) {
libsaproc_cookie = cookie;
return LA_FLG_BINDTO | LA_FLG_BINDFROM;
}
return 0;
}
#if defined(_LP64)
uintptr_t
la_symbind64(Elf64_Sym *symp, uint_t symndx, uintptr_t *refcook,
uintptr_t *defcook, uint_t *sb_flags, const char *sym_name)
#else
uintptr_t
la_symbind32(Elf32_Sym *symp, uint_t symndx, uintptr_t *refcook,
uintptr_t *defcook, uint_t *sb_flags)
#endif
{
#if !defined(_LP64)
const char *sym_name = (const char *)symp->st_name;
#endif
if (strcmp(sym_name, "open") == 0 && refcook == libproc_cookie) {
// redirect all open calls from libproc.so through libsaproc_open which will
// try the alternate library locations first.
void* handle = dlmopen(LM_ID_BASE, "libsaproc.so", RTLD_NOLOAD);
if (handle == NULL) {
fprintf(stderr, "libsaproc_audit.so: didn't find libsaproc.so during linking\n");
} else {
uintptr_t libsaproc_open = (uintptr_t)dlsym(handle, "libsaproc_open");
if (libsaproc_open == 0) {
fprintf(stderr, "libsaproc_audit.so: didn't find libsaproc_open during linking\n");
} else {
return libsaproc_open;
}
}
}
return symp->st_value;
}

View File

@@ -926,6 +926,28 @@ public class CommandProcessor {
}
}
},
new Command("dumpcodecache", "dumpcodecache", false) {
public void doit(Tokens t) {
if (t.countTokens() != 0) {
usage();
} else {
final PrintStream fout = out;
final HTMLGenerator gen = new HTMLGenerator(false);
CodeCacheVisitor v = new CodeCacheVisitor() {
public void prologue(Address start, Address end) {
}
public void visit(CodeBlob blob) {
fout.println(gen.genHTML(blob.instructionsBegin()));
}
public void epilogue() {
}
};
VM.getVM().getCodeCache().iterate(v);
}
}
},
new Command("where", "where { -a | id }", false) {
public void doit(Tokens t) {
if (t.countTokens() != 1) {

View File

@@ -33,6 +33,7 @@ import sun.jvm.hotspot.utilities.*;
public class CodeCache {
private static AddressField heapField;
private static AddressField scavengeRootNMethodsField;
private static VirtualConstructor virtualConstructor;
private CodeHeap heap;
@@ -49,6 +50,7 @@ public class CodeCache {
Type type = db.lookupType("CodeCache");
heapField = type.getAddressField("_heap");
scavengeRootNMethodsField = type.getAddressField("_scavenge_root_nmethods");
virtualConstructor = new VirtualConstructor(db);
// Add mappings for all possible CodeBlob subclasses
@@ -67,6 +69,10 @@ public class CodeCache {
heap = (CodeHeap) VMObjectFactory.newObject(CodeHeap.class, heapField.getValue());
}
public NMethod scavengeRootMethods() {
return (NMethod) VMObjectFactory.newObject(NMethod.class, scavengeRootNMethodsField.getValue());
}
public boolean contains(Address p) {
return getHeap().contains(p);
}
@@ -167,7 +173,8 @@ public class CodeCache {
CodeBlob lastBlob = null;
while (ptr != null && ptr.lessThan(end)) {
try {
CodeBlob blob = findBlobUnsafe(ptr);
// Use findStart to get a pointer inside blob other findBlob asserts
CodeBlob blob = findBlobUnsafe(heap.findStart(ptr));
if (blob != null) {
visitor.visit(blob);
if (blob == lastBlob) {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2006 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. 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
@@ -40,7 +40,10 @@ public class NMethod extends CodeBlob {
/** != InvocationEntryBci if this nmethod is an on-stack replacement method */
private static CIntegerField entryBCIField;
/** To support simple linked-list chaining of nmethods */
private static AddressField linkField;
private static AddressField osrLinkField;
private static AddressField scavengeRootLinkField;
private static JByteField scavengeRootStateField;
/** Offsets for different nmethod parts */
private static CIntegerField exceptionOffsetField;
private static CIntegerField deoptOffsetField;
@@ -87,7 +90,10 @@ public class NMethod extends CodeBlob {
zombieInstructionSizeField = type.getCIntegerField("_zombie_instruction_size");
methodField = type.getOopField("_method");
entryBCIField = type.getCIntegerField("_entry_bci");
linkField = type.getAddressField("_link");
osrLinkField = type.getAddressField("_osr_link");
scavengeRootLinkField = type.getAddressField("_scavenge_root_link");
scavengeRootStateField = type.getJByteField("_scavenge_root_state");
exceptionOffsetField = type.getCIntegerField("_exception_offset");
deoptOffsetField = type.getCIntegerField("_deoptimize_offset");
origPCOffsetField = type.getCIntegerField("_orig_pc_offset");
@@ -219,10 +225,19 @@ public class NMethod extends CodeBlob {
return getEntryBCI();
}
public NMethod getLink() {
return (NMethod) VMObjectFactory.newObject(NMethod.class, linkField.getValue(addr));
public NMethod getOSRLink() {
return (NMethod) VMObjectFactory.newObject(NMethod.class, osrLinkField.getValue(addr));
}
public NMethod getScavengeRootLink() {
return (NMethod) VMObjectFactory.newObject(NMethod.class, scavengeRootLinkField.getValue(addr));
}
public int getScavengeRootState() {
return (int) scavengeRootStateField.getValue(addr);
}
/** Tells whether frames described by this nmethod can be
deoptimized. Note: native wrappers cannot be deoptimized. */
public boolean canBeDeoptimized() { return isJavaMethod(); }
@@ -259,7 +274,7 @@ public class NMethod extends CodeBlob {
if (Assert.ASSERTS_ENABLED) {
Assert.that(pd != null, "scope must be present");
}
return new ScopeDesc(this, pd.getScopeDecodeOffset());
return new ScopeDesc(this, pd.getScopeDecodeOffset(), pd.getObjDecodeOffset(), pd.getReexecute());
}
/** This is only for use by the debugging system, and is only
@@ -291,11 +306,11 @@ public class NMethod extends CodeBlob {
public ScopeDesc getScopeDescNearDbg(Address pc) {
PCDesc pd = getPCDescNearDbg(pc);
if (pd == null) return null;
return new ScopeDesc(this, pd.getScopeDecodeOffset());
return new ScopeDesc(this, pd.getScopeDecodeOffset(), pd.getObjDecodeOffset(), pd.getReexecute());
}
public Map/*<Address, PcDesc>*/ getSafepoints() {
Map safepoints = new HashMap(); // Map<Address, PcDesc>
public Map/*<Address, PCDesc>*/ getSafepoints() {
Map safepoints = new HashMap(); // Map<Address, PCDesc>
sun.jvm.hotspot.debugger.Address p = null;
for (p = scopesPCsBegin(); p.lessThan(scopesPCsEnd());
p = p.addOffsetTo(pcDescSize)) {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2004 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. 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
@@ -36,6 +36,8 @@ import sun.jvm.hotspot.types.*;
public class PCDesc extends VMObject {
private static CIntegerField pcOffsetField;
private static CIntegerField scopeDecodeOffsetField;
private static CIntegerField objDecodeOffsetField;
private static CIntegerField pcFlagsField;
static {
VM.registerVMInitializedObserver(new Observer() {
@@ -50,6 +52,8 @@ public class PCDesc extends VMObject {
pcOffsetField = type.getCIntegerField("_pc_offset");
scopeDecodeOffsetField = type.getCIntegerField("_scope_decode_offset");
objDecodeOffsetField = type.getCIntegerField("_obj_decode_offset");
pcFlagsField = type.getCIntegerField("_flags");
}
public PCDesc(Address addr) {
@@ -66,10 +70,20 @@ public class PCDesc extends VMObject {
return ((int) scopeDecodeOffsetField.getValue(addr));
}
public int getObjDecodeOffset() {
return ((int) objDecodeOffsetField.getValue(addr));
}
public Address getRealPC(NMethod code) {
return code.instructionsBegin().addOffsetTo(getPCOffset());
}
public boolean getReexecute() {
int flags = (int)pcFlagsField.getValue(addr);
return ((flags & 0x1)== 1); //first is the reexecute bit
}
public void print(NMethod code) {
printOn(System.out, code);
}
@@ -82,6 +96,7 @@ public class PCDesc extends VMObject {
tty.print(" ");
sd.getMethod().printValueOn(tty);
tty.print(" @" + sd.getBCI());
tty.print(" reexecute=" + sd.getReexecute());
tty.println();
}
}

View File

@@ -41,6 +41,7 @@ public class ScopeDesc {
private NMethod code;
private Method method;
private int bci;
private boolean reexecute;
/** Decoding offsets */
private int decodeOffset;
private int senderDecodeOffset;
@@ -50,11 +51,11 @@ public class ScopeDesc {
/** Scalar replaced bjects pool */
private List objects; // ArrayList<ScopeValue>
public ScopeDesc(NMethod code, int decodeOffset) {
private ScopeDesc(NMethod code, int decodeOffset, List objects, boolean reexecute) {
this.code = code;
this.decodeOffset = decodeOffset;
this.objects = decodeObjectValues(DebugInformationRecorder.SERIALIZED_NULL);
this.objects = objects;
this.reexecute = reexecute;
// Decode header
DebugInfoReadStream stream = streamAt(decodeOffset);
@@ -68,10 +69,11 @@ public class ScopeDesc {
monitorsDecodeOffset = stream.readInt();
}
public ScopeDesc(NMethod code, int decodeOffset, int objectDecodeOffset) {
public ScopeDesc(NMethod code, int decodeOffset, int objectDecodeOffset, boolean reexecute) {
this.code = code;
this.decodeOffset = decodeOffset;
this.objects = decodeObjectValues(objectDecodeOffset);
this.reexecute = reexecute;
// Decode header
DebugInfoReadStream stream = streamAt(decodeOffset);
@@ -85,9 +87,10 @@ public class ScopeDesc {
monitorsDecodeOffset = stream.readInt();
}
public NMethod getNMethod() { return code; }
public Method getMethod() { return method; }
public int getBCI() { return bci; }
public NMethod getNMethod() { return code; }
public Method getMethod() { return method; }
public int getBCI() { return bci; }
public boolean getReexecute() { return reexecute;}
/** Returns a List&lt;ScopeValue&gt; */
public List getLocals() {
@@ -104,7 +107,7 @@ public class ScopeDesc {
return decodeMonitorValues(monitorsDecodeOffset);
}
/** Returns a List&lt;MonitorValue&gt; */
/** Returns a List&lt;ObjectValue&gt; */
public List getObjects() {
return objects;
}
@@ -115,7 +118,7 @@ public class ScopeDesc {
return null;
}
return new ScopeDesc(code, senderDecodeOffset);
return new ScopeDesc(code, senderDecodeOffset, objects, false);
}
/** Returns where the scope was decoded */
@@ -149,7 +152,8 @@ public class ScopeDesc {
public void printValueOn(PrintStream tty) {
tty.print("ScopeDesc for ");
method.printValueOn(tty);
tty.println(" @bci " + bci);
tty.print(" @bci " + bci);
tty.println(" reexecute=" + reexecute);
}
// FIXME: add more accessors
@@ -157,7 +161,6 @@ public class ScopeDesc {
//--------------------------------------------------------------------------------
// Internals only below this point
//
private DebugInfoReadStream streamAt(int decodeOffset) {
return new DebugInfoReadStream(code, decodeOffset, objects);
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2003-2009 Sun Microsystems, Inc. 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
@@ -176,19 +176,6 @@ public class CompactibleFreeListSpace extends CompactibleSpace {
for (; cur.lessThan(limit);) {
Address klassOop = cur.getAddressAt(addressSize);
// FIXME: need to do a better job here.
// can I use bitMap here?
if (klassOop == null) {
//Find the object size using Printezis bits and skip over
System.err.println("Finding object size using Printezis bits and skipping over...");
long size = collector().blockSizeUsingPrintezisBits(cur);
if (size == -1) {
System.err.println("Printezis bits not set...");
break;
}
cur = cur.addOffsetTo(adjustObjectSizeInBytes(size));
}
if (FreeChunk.indicatesFreeChunk(cur)) {
if (! cur.equals(regionStart)) {
res.add(new MemRegion(regionStart, cur));
@@ -200,12 +187,21 @@ public class CompactibleFreeListSpace extends CompactibleSpace {
}
// note that fc.size() gives chunk size in heap words
cur = cur.addOffsetTo(chunkSize * addressSize);
System.err.println("Free chunk in CMS heap, size="+chunkSize * addressSize);
regionStart = cur;
} else if (klassOop != null) {
Oop obj = heap.newOop(cur.addOffsetToAsOopHandle(0));
long objectSize = obj.getObjectSize();
cur = cur.addOffsetTo(adjustObjectSizeInBytes(objectSize));
} else {
// FIXME: need to do a better job here.
// can I use bitMap here?
//Find the object size using Printezis bits and skip over
long size = collector().blockSizeUsingPrintezisBits(cur);
if (size == -1) {
System.err.println("Printezis bits not set...");
break;
}
cur = cur.addOffsetTo(adjustObjectSizeInBytes(size));
}
}
return res;

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2003-2009 Sun Microsystems, Inc. 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
@@ -63,7 +63,7 @@ public class FreeChunk extends VMObject {
public long size() {
if (VM.getVM().isCompressedOopsEnabled()) {
Mark mark = new Mark(sizeField.getValue(addr));
Mark mark = new Mark(addr.addOffsetTo(sizeField.getOffset()));
return mark.getSize();
} else {
Address size = sizeField.getValue(addr);
@@ -83,7 +83,7 @@ public class FreeChunk extends VMObject {
public boolean isFree() {
if (VM.getVM().isCompressedOopsEnabled()) {
Mark mark = new Mark(sizeField.getValue(addr));
Mark mark = new Mark(addr.addOffsetTo(sizeField.getOffset()));
return mark.isCmsFreeChunk();
} else {
Address prev = prevField.getValue(addr);

View File

@@ -63,12 +63,12 @@ public class SystemDictionary {
javaSystemLoaderField = type.getOopField("_java_system_loader");
nofBuckets = db.lookupIntConstant("SystemDictionary::_nof_buckets").intValue();
objectKlassField = type.getOopField(WK_KLASS("object_klass"));
classLoaderKlassField = type.getOopField(WK_KLASS("classloader_klass"));
stringKlassField = type.getOopField(WK_KLASS("string_klass"));
systemKlassField = type.getOopField(WK_KLASS("system_klass"));
threadKlassField = type.getOopField(WK_KLASS("thread_klass"));
threadGroupKlassField = type.getOopField(WK_KLASS("threadGroup_klass"));
objectKlassField = type.getOopField(WK_KLASS("Object_klass"));
classLoaderKlassField = type.getOopField(WK_KLASS("ClassLoader_klass"));
stringKlassField = type.getOopField(WK_KLASS("String_klass"));
systemKlassField = type.getOopField(WK_KLASS("System_klass"));
threadKlassField = type.getOopField(WK_KLASS("Thread_klass"));
threadGroupKlassField = type.getOopField(WK_KLASS("ThreadGroup_klass"));
}
// This WK functions must follow the definitions in systemDictionary.hpp:

View File

@@ -807,6 +807,9 @@ public class HTMLGenerator implements /* imports */ ClassConstants {
Interpreter interp = VM.getVM().getInterpreter();
if (interp.contains(pc)) {
InterpreterCodelet codelet = interp.getCodeletContaining(pc);
if (codelet == null) {
return "Unknown location in the Interpreter: " + pc;
}
return genHTML(codelet);
}
return genHTML(blob);
@@ -969,16 +972,24 @@ public class HTMLGenerator implements /* imports */ ClassConstants {
}
protected String genSafepointInfo(NMethod nm, PCDesc pcDesc) {
ScopeDesc sd = nm.getScopeDescAt(pcDesc.getRealPC(nm));
Formatter buf = new Formatter(genHTML);
Formatter tabs = new Formatter(genHTML);
ScopeDesc sd = nm.getScopeDescAt(pcDesc.getRealPC(nm));
Formatter buf = new Formatter(genHTML);
Formatter tabs = new Formatter(genHTML);
tabs.append(tab + tab + tab); // Initial indent for debug info
buf.beginTag("pre");
genScope(buf, tabs, sd);
buf.endTag("pre");
buf.append(genOopMapInfo(nm, pcDesc));
buf.beginTag("pre");
genScope(buf, tabs, sd);
return buf.toString();
// Reset indent for scalar replaced objects
tabs = new Formatter(genHTML);
tabs.append(tab + tab + tab); // Initial indent for debug info
genScObjInfo(buf, tabs, sd);
buf.endTag("pre");
buf.append(genOopMapInfo(nm, pcDesc));
return buf.toString();
}
protected void genScope(Formatter buf, Formatter tabs, ScopeDesc sd) {
@@ -1022,8 +1033,95 @@ public class HTMLGenerator implements /* imports */ ClassConstants {
buf.append(genHTMLForMonitors(sd, monitors));
}
tabs.append(tab);
buf.br();
tabs.append(tab);
}
protected void genScObjInfo(Formatter buf, Formatter tabs, ScopeDesc sd) {
if (sd == null) {
return;
}
List objects = sd.getObjects();
if (objects == null) {
return;
}
int length = objects.size();
for (int i = 0; i < length; i++) {
buf.append(tabs);
ObjectValue ov = (ObjectValue)objects.get(i);
buf.append("ScObj" + i);
ScopeValue sv = ov.getKlass();
if (Assert.ASSERTS_ENABLED) {
Assert.that(sv.isConstantOop(), "scalar replaced object klass must be constant oop");
}
ConstantOopReadValue klv = (ConstantOopReadValue)sv;
OopHandle klHandle = klv.getValue();
if (Assert.ASSERTS_ENABLED) {
Assert.that(klHandle != null, "scalar replaced object klass must be not NULL");
}
Oop obj = VM.getVM().getObjectHeap().newOop(klHandle);
if (obj instanceof InstanceKlass) {
InstanceKlass kls = (InstanceKlass) obj;
buf.append(" " + kls.getName().asString() + "={");
int flen = ov.fieldsSize();
TypeArray klfields = kls.getFields();
int klen = (int) klfields.getLength();
ConstantPool cp = kls.getConstants();
int findex = 0;
for (int index = 0; index < klen; index += kls.NEXT_OFFSET) {
int accsFlags = klfields.getShortAt(index + kls.ACCESS_FLAGS_OFFSET);
int nameIndex = klfields.getShortAt(index + kls.NAME_INDEX_OFFSET);
AccessFlags access = new AccessFlags(accsFlags);
if (!access.isStatic()) {
ScopeValue svf = ov.getFieldAt(findex++);
String fstr = scopeValueAsString(sd, svf);
Symbol f_name = cp.getSymbolAt(nameIndex);
buf.append(" [" + f_name.asString() + " :"+ index + "]=(#" + fstr + ")");
}
}
buf.append(" }");
} else {
buf.append(" ");
int flen = ov.fieldsSize();
if (obj instanceof TypeArrayKlass) {
TypeArrayKlass kls = (TypeArrayKlass) obj;
buf.append(kls.getElementTypeName() + "[" + flen + "]");
} else if (obj instanceof ObjArrayKlass) {
ObjArrayKlass kls = (ObjArrayKlass) obj;
Klass elobj = kls.getBottomKlass();
if (elobj instanceof InstanceKlass) {
buf.append(elobj.getName().asString());
} else if (elobj instanceof TypeArrayKlass) {
TypeArrayKlass elkls = (TypeArrayKlass) elobj;
buf.append(elkls.getElementTypeName());
} else {
if (Assert.ASSERTS_ENABLED) {
Assert.that(false, "unknown scalar replaced object klass!");
}
}
buf.append("[" + flen + "]");
int ndim = (int) kls.getDimension();
while (--ndim > 0) {
buf.append("[]");
}
} else {
if (Assert.ASSERTS_ENABLED) {
Assert.that(false, "unknown scalar replaced object klass!");
}
}
buf.append("={");
for (int findex = 0; findex < flen; findex++) {
ScopeValue svf = ov.getFieldAt(findex);
String fstr = scopeValueAsString(sd, svf);
buf.append(" [" + findex + "]=(#" + fstr + ")");
}
buf.append(" }");
}
buf.br();
}
}
protected String genHTMLForOopMap(OopMap map) {
@@ -1037,8 +1135,6 @@ public class HTMLGenerator implements /* imports */ ClassConstants {
tmpBuf.beginTag("tr");
tmpBuf.beginTag("td");
tmpBuf.append(type);
tmpBuf.endTag("td");
tmpBuf.endTag("tr");
for (; ! oms.isDone(); oms.next()) {
OopMapValue omv = oms.getCurrent();
if (omv == null) {
@@ -1048,7 +1144,7 @@ public class HTMLGenerator implements /* imports */ ClassConstants {
VMReg vmReg = omv.getReg();
int reg = vmReg.getValue();
if (reg < stack0) {
tmpBuf.append(VMRegImpl.getRegisterName(vmReg.getValue()));
tmpBuf.append(VMRegImpl.getRegisterName(reg));
} else {
tmpBuf.append('[');
tmpBuf.append(Integer.toString((reg - stack0) * 4));
@@ -1058,7 +1154,13 @@ public class HTMLGenerator implements /* imports */ ClassConstants {
tmpBuf.append(" = ");
VMReg vmContentReg = omv.getContentReg();
int contentReg = vmContentReg.getValue();
tmpBuf.append(VMRegImpl.getRegisterName(vmContentReg.getValue()));
if (contentReg < stack0) {
tmpBuf.append(VMRegImpl.getRegisterName(contentReg));
} else {
tmpBuf.append('[');
tmpBuf.append(Integer.toString((contentReg - stack0) * 4));
tmpBuf.append(']');
}
}
tmpBuf.append(spaces);
}
@@ -1072,19 +1174,19 @@ public class HTMLGenerator implements /* imports */ ClassConstants {
OopMapValueIterator omvIterator = new OopMapValueIterator();
OopMapStream oms = new OopMapStream(map, OopMapValue.OopTypes.OOP_VALUE);
buf.append(omvIterator.iterate(oms, "Oop:", false));
oms = new OopMapStream(map, OopMapValue.OopTypes.VALUE_VALUE);
buf.append(omvIterator.iterate(oms, "Value:", false));
buf.append(omvIterator.iterate(oms, "Oops:", false));
oms = new OopMapStream(map, OopMapValue.OopTypes.NARROWOOP_VALUE);
buf.append(omvIterator.iterate(oms, "Oop:", false));
buf.append(omvIterator.iterate(oms, "narrowOops:", false));
oms = new OopMapStream(map, OopMapValue.OopTypes.VALUE_VALUE);
buf.append(omvIterator.iterate(oms, "Values:", false));
oms = new OopMapStream(map, OopMapValue.OopTypes.CALLEE_SAVED_VALUE);
buf.append(omvIterator.iterate(oms, "Callee saved:", true));
oms = new OopMapStream(map, OopMapValue.OopTypes.DERIVED_OOP_VALUE);
buf.append(omvIterator.iterate(oms, "Derived oop:", true));
buf.append(omvIterator.iterate(oms, "Derived oops:", true));
buf.endTag("table");
return buf.toString();
@@ -1093,6 +1195,8 @@ public class HTMLGenerator implements /* imports */ ClassConstants {
protected String genOopMapInfo(NMethod nmethod, PCDesc pcDesc) {
OopMapSet mapSet = nmethod.getOopMaps();
if (mapSet == null || (mapSet.getSize() <= 0))
return "";
int pcOffset = pcDesc.getPCOffset();
OopMap map = mapSet.findMapAtOffset(pcOffset, VM.getVM().isDebugging());
if (map == null) {
@@ -1106,6 +1210,7 @@ public class HTMLGenerator implements /* imports */ ClassConstants {
Formatter buf = new Formatter(genHTML);
buf.beginTag("pre");
buf.append("OopMap: ");
buf.br();
buf.append(genHTMLForOopMap(map));
buf.endTag("pre");
@@ -1154,7 +1259,7 @@ public class HTMLGenerator implements /* imports */ ClassConstants {
return buf.toString();
}
private String scopeValueAsString(ScopeValue sv) {
private String scopeValueAsString(ScopeDesc sd, ScopeValue sv) {
Formatter buf = new Formatter(genHTML);
if (sv.isConstantInt()) {
buf.append("int ");
@@ -1187,6 +1292,11 @@ public class HTMLGenerator implements /* imports */ ClassConstants {
} else {
buf.append("null");
}
} else if (sv.isObject()) {
ObjectValue ov = (ObjectValue)sv;
buf.append("#ScObj" + sd.getObjects().indexOf(ov));
} else {
buf.append("unknown scope value " + sv);
}
return buf.toString();
}
@@ -1219,7 +1329,7 @@ public class HTMLGenerator implements /* imports */ ClassConstants {
}
buf.append(", ");
buf.append(scopeValueAsString(sv));
buf.append(scopeValueAsString(sd, sv));
buf.append(") ");
}
@@ -1246,7 +1356,7 @@ public class HTMLGenerator implements /* imports */ ClassConstants {
buf.append("(owner = ");
ScopeValue owner = mv.owner();
if (owner != null) {
buf.append(scopeValueAsString(owner));
buf.append(scopeValueAsString(sd, owner));
} else {
buf.append("null");
}
@@ -1324,11 +1434,11 @@ public class HTMLGenerator implements /* imports */ ClassConstants {
buf.append(instr.asString(currentPc, symFinder));
}
buf.br();
if (isSafepoint && !prevWasCall) {
buf.append(genSafepointInfo(nmethod, pcDesc));
buf.append(genSafepointInfo(nmethod, pcDesc));
}
buf.br();
prevWasCall = instr.isCall();
}

View File

@@ -1047,7 +1047,7 @@ while (tmp.itr.hasNext()) {
} else {
// some type names have ':'. replace to make it as a
// JavaScript identifier
tmp.name = tmp.name.replace(':', '_');
tmp.name = tmp.name.replace(':', '_').replace('<', '_').replace('>', '_').replace('*', '_').replace(' ', '_');
eval("function read" + tmp.name + "(addr) {" +
" return readVMType('" + tmp.name + "', addr);}");
eval("function print" + tmp.name + "(addr) {" +

View File

@@ -1,5 +1,5 @@
#
# Copyright 2005-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2005-2010 Sun Microsystems, Inc. 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,6 +84,7 @@ endif
C1_VM_TARGETS=product1 fastdebug1 optimized1 jvmg1
C2_VM_TARGETS=product fastdebug optimized jvmg
KERNEL_VM_TARGETS=productkernel fastdebugkernel optimizedkernel jvmgkernel
ZERO_VM_TARGETS=productzero fastdebugzero optimizedzero jvmgzero
# JDK directory list
JDK_DIRS=bin include jre lib demo
@@ -94,6 +95,12 @@ all_fastdebug: fastdebug fastdebug1 fastdebugkernel docs export_fastdebug
all_debug: jvmg jvmg1 jvmgkernel docs export_debug
all_optimized: optimized optimized1 optimizedkernel docs export_optimized
allzero: all_productzero all_fastdebugzero
all_productzero: productzero docs export_product
all_fastdebugzero: fastdebugzero docs export_fastdebug
all_debugzero: jvmgzero docs export_debug
all_optimizedzero: optimizedzero docs export_optimized
# Do everything
world: all create_jdk
@@ -120,6 +127,10 @@ $(KERNEL_VM_TARGETS):
$(CD) $(GAMMADIR)/make; \
$(MAKE) VM_TARGET=$@ generic_buildkernel $(ALT_OUT)
$(ZERO_VM_TARGETS):
$(CD) $(GAMMADIR)/make; \
$(MAKE) VM_TARGET=$@ generic_buildzero $(ALT_OUT)
# Build compiler1 (client) rule, different for platforms
generic_build1:
$(MKDIR) -p $(OUTPUTDIR)
@@ -180,6 +191,12 @@ else
@$(ECHO) "No kernel ($(VM_TARGET)) for OS_NAME=$(OSNAME)"
endif
generic_buildzero:
$(MKDIR) -p $(OUTPUTDIR)
$(CD) $(OUTPUTDIR); \
$(MAKE) -f $(ABS_OS_MAKEFILE) \
$(MAKE_ARGS) $(VM_TARGET)
# Export file rule
generic_export: $(EXPORT_LIST)
export_product:
@@ -210,11 +227,17 @@ DOCS_DIR=$(OUTPUTDIR)/$(VM_PLATFORM)_docs
C1_BASE_DIR=$(OUTPUTDIR)/$(VM_PLATFORM)_compiler1
C2_BASE_DIR=$(OUTPUTDIR)/$(VM_PLATFORM)_compiler2
KERNEL_BASE_DIR=$(OUTPUTDIR)/$(VM_PLATFORM)_kernel
ZERO_BASE_DIR=$(OUTPUTDIR)/$(VM_PLATFORM)_zero
C1_DIR=$(C1_BASE_DIR)/$(VM_SUBDIR)
C2_DIR=$(C2_BASE_DIR)/$(VM_SUBDIR)
KERNEL_DIR=$(KERNEL_BASE_DIR)/$(VM_SUBDIR)
ZERO_DIR=$(ZERO_BASE_DIR)/$(VM_SUBDIR)
# Misc files and generated files need to come from C1 or C2 area
ifeq ($(ZERO_BUILD), true)
MISC_DIR=$(ZERO_DIR)
GEN_DIR=$(ZERO_BASE_DIR)/generated
else
ifeq ($(ARCH_DATA_MODEL), 32)
MISC_DIR=$(C1_DIR)
GEN_DIR=$(C1_BASE_DIR)/generated
@@ -222,6 +245,7 @@ else
MISC_DIR=$(C2_DIR)
GEN_DIR=$(C2_BASE_DIR)/generated
endif
endif
# Bin files (windows)
ifeq ($(OSNAME),windows)
@@ -265,6 +289,12 @@ endif
# Shared Library
ifneq ($(OSNAME),windows)
ifeq ($(ZERO_BUILD), true)
$(EXPORT_JRE_LIB_ARCH_DIR)/%.so: $(ZERO_DIR)/%.so
$(install-file)
$(EXPORT_SERVER_DIR)/%.so: $(ZERO_DIR)/%.so
$(install-file)
else
$(EXPORT_JRE_LIB_ARCH_DIR)/%.so: $(C2_DIR)/%.so
$(install-file)
$(EXPORT_CLIENT_DIR)/%.so: $(C1_DIR)/%.so
@@ -275,16 +305,20 @@ $(EXPORT_SERVER_DIR)/%.so: $(C2_DIR)/%.so
$(install-file)
$(EXPORT_SERVER_DIR)/64/%.so: $(C2_DIR)/%.so
$(install-file)
endif
endif
# Jar file (sa-jdi.jar)
$(EXPORT_LIB_DIR)/%.jar: $(GEN_DIR)/%.jar
$(install-file)
# Include files (jvmti.h, jni.h, $(JDK_INCLUDE_SUBDIR)/jni_md.h, jmm.h)
# Include files (jvmti.h, jvmticmlr.h, jni.h, $(JDK_INCLUDE_SUBDIR)/jni_md.h, jmm.h)
$(EXPORT_INCLUDE_DIR)/%: $(GEN_DIR)/jvmtifiles/%
$(install-file)
$(EXPORT_INCLUDE_DIR)/%: $(HS_SRC_DIR)/share/vm/code/%
$(install-file)
$(EXPORT_INCLUDE_DIR)/%: $(HS_SRC_DIR)/share/vm/prims/%
$(install-file)
@@ -313,6 +347,7 @@ clean_build:
$(RM) -r $(C1_DIR)
$(RM) -r $(C2_DIR)
$(RM) -r $(KERNEL_DIR)
$(RM) -r $(ZERO_DIR)
clean_export:
$(RM) -r $(EXPORT_PATH)
clean_jdk:
@@ -335,8 +370,10 @@ $(JDK_IMAGE_DIR)/jre/lib/rt.jar:
($(CD) $(JDK_IMAGE_DIR) && $(TAR) -xf -)
test_jdk:
ifeq ($(ARCH_DATA_MODEL), 32)
ifneq ($(ZERO_BUILD), true)
ifeq ($(ARCH_DATA_MODEL), 32)
$(JDK_IMAGE_DIR)/bin/java -client -version
endif
endif
$(JDK_IMAGE_DIR)/bin/java -server -version

View File

@@ -1,5 +1,5 @@
#
# Copyright 2006-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2006-2010 Sun Microsystems, Inc. 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
@@ -192,13 +192,14 @@ ifneq ($(OSNAME),windows)
# Use uname output for SRCARCH, but deal with platform differences. If ARCH
# is not explicitly listed below, it is treated as x86.
SRCARCH = $(ARCH/$(filter sparc sparc64 ia64 amd64 x86_64,$(ARCH)))
SRCARCH = $(ARCH/$(filter sparc sparc64 ia64 amd64 x86_64 zero,$(ARCH)))
ARCH/ = x86
ARCH/sparc = sparc
ARCH/sparc64= sparc
ARCH/ia64 = ia64
ARCH/amd64 = x86
ARCH/x86_64 = x86
ARCH/zero = zero
# BUILDARCH is usually the same as SRCARCH, except for sparcv9
BUILDARCH = $(SRCARCH)
@@ -222,8 +223,9 @@ ifneq ($(OSNAME),windows)
LIBARCH/sparc = sparc
LIBARCH/sparcv9 = sparcv9
LIBARCH/ia64 = ia64
LIBARCH/zero = $(ZERO_LIBARCH)
LP64_ARCH = sparcv9 amd64 ia64
LP64_ARCH = sparcv9 amd64 ia64 zero
endif
# Required make macro settings for all platforms
@@ -259,6 +261,7 @@ EXPORT_JRE_LIB_ARCH_DIR = $(EXPORT_JRE_LIB_DIR)/$(LIBARCH)
# Common export list of files
EXPORT_LIST += $(EXPORT_INCLUDE_DIR)/jvmti.h
EXPORT_LIST += $(EXPORT_INCLUDE_DIR)/jvmticmlr.h
EXPORT_LIST += $(EXPORT_INCLUDE_DIR)/jni.h
EXPORT_LIST += $(EXPORT_INCLUDE_DIR)/$(JDK_INCLUDE_SUBDIR)/jni_md.h
EXPORT_LIST += $(EXPORT_INCLUDE_DIR)/jmm.h

View File

@@ -33,9 +33,9 @@
# Don't put quotes (fail windows build).
HOTSPOT_VM_COPYRIGHT=Copyright 2009
HS_MAJOR_VER=16
HS_MAJOR_VER=17
HS_MINOR_VER=0
HS_BUILD_NUMBER=07
HS_BUILD_NUMBER=10
JDK_MAJOR_VER=1
JDK_MINOR_VER=7

View File

@@ -29,17 +29,24 @@ ifdef JPRT_BUILD_VERSION
MILESTONE=$(JPRT_BUILD_VERSION)
endif
ifeq ($(OSNAME),windows)
ZIPFLAGS=-q
else
# store symbolic links as the link
ZIPFLAGS=-q -y
endif
jprt_build_product: all_product copy_product_jdk export_product_jdk
( $(CD) $(JDK_IMAGE_DIR) && \
$(ZIPEXE) -q -r $(JPRT_ARCHIVE_BUNDLE) . )
$(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . )
jprt_build_fastdebug: all_fastdebug copy_fastdebug_jdk export_fastdebug_jdk
( $(CD) $(JDK_IMAGE_DIR)/fastdebug && \
$(ZIPEXE) -q -r $(JPRT_ARCHIVE_BUNDLE) . )
$(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . )
jprt_build_debug: all_debug copy_debug_jdk export_debug_jdk
( $(CD) $(JDK_IMAGE_DIR)/debug && \
$(ZIPEXE) -q -r $(JPRT_ARCHIVE_BUNDLE) . )
$(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . )
.PHONY: jprt_build_product jprt_build_fastdebug jprt_build_debug

View File

@@ -40,6 +40,10 @@ jprt.need.sibling.build=false
jprt.tools.default.release=${jprt.submit.release}
# Disable syncing the source after builds and tests are done.
jprt.sync.push=false
# Define the Solaris platforms we want for the various releases
jprt.my.solaris.sparc.jdk7=solaris_sparc_5.10
@@ -306,7 +310,6 @@ jprt.my.windows.x64.test.targets = \
${jprt.my.windows.x64}-{product|fastdebug}-c2-GCBasher_ParallelGC, \
${jprt.my.windows.x64}-{product|fastdebug}-c2-GCBasher_ParNewGC, \
${jprt.my.windows.x64}-{product|fastdebug}-c2-GCBasher_CMS, \
${jprt.my.windows.x64}-{product|fastdebug}-c2-GCBasher_G1, \
${jprt.my.windows.x64}-{product|fastdebug}-c2-GCBasher_ParOldGC, \
${jprt.my.windows.x64}-{product|fastdebug}-c2-GCOld_default, \
${jprt.my.windows.x64}-{product|fastdebug}-c2-GCOld_SerialGC, \

View File

@@ -132,6 +132,9 @@ ifeq ($(OSNAME),solaris)
endif
# BUILDARCH is set to "zero" for Zero builds. VARIANTARCH
# is used to give the build directories meaningful names.
VARIANTARCH = $(subst i386,i486,$(ZERO_LIBARCH))
# There is a (semi-) regular correspondence between make targets and actions:
#
@@ -158,6 +161,13 @@ endif
# profiledcore core <os>_<arch>_core/profiled
# productcore core <os>_<arch>_core/product
#
# debugzero zero <os>_<arch>_zero/debug
# fastdebugzero zero <os>_<arch>_zero/fastdebug
# jvmgzero zero <os>_<arch>_zero/jvmg
# optimizedzero zero <os>_<arch>_zero/optimized
# profiledzero zero <os>_<arch>_zero/profiled
# productzero zero <os>_<arch>_zero/product
#
# What you get with each target:
#
# debug* - "thin" libjvm_g - debug info linked into the gamma_g launcher
@@ -171,16 +181,22 @@ endif
# in the build.sh script:
TARGETS = debug jvmg fastdebug optimized profiled product
SUBDIR_DOCS = $(OSNAME)_$(BUILDARCH)_docs
ifeq ($(ZERO_BUILD), true)
SUBDIR_DOCS = $(OSNAME)_$(VARIANTARCH)_docs
else
SUBDIR_DOCS = $(OSNAME)_$(BUILDARCH)_docs
endif
SUBDIRS_C1 = $(addprefix $(OSNAME)_$(BUILDARCH)_compiler1/,$(TARGETS))
SUBDIRS_C2 = $(addprefix $(OSNAME)_$(BUILDARCH)_compiler2/,$(TARGETS))
SUBDIRS_TIERED = $(addprefix $(OSNAME)_$(BUILDARCH)_tiered/,$(TARGETS))
SUBDIRS_CORE = $(addprefix $(OSNAME)_$(BUILDARCH)_core/,$(TARGETS))
SUBDIRS_ZERO = $(addprefix $(OSNAME)_$(VARIANTARCH)_zero/,$(TARGETS))
TARGETS_C2 = $(TARGETS)
TARGETS_C1 = $(addsuffix 1,$(TARGETS))
TARGETS_TIERED = $(addsuffix tiered,$(TARGETS))
TARGETS_CORE = $(addsuffix core,$(TARGETS))
TARGETS_ZERO = $(addsuffix zero,$(TARGETS))
BUILDTREE_MAKE = $(GAMMADIR)/make/$(OSNAME)/makefiles/buildtree.make
BUILDTREE_VARS = GAMMADIR=$(GAMMADIR) OS_FAMILY=$(OSNAME) ARCH=$(SRCARCH) BUILDARCH=$(BUILDARCH) LIBARCH=$(LIBARCH)
@@ -196,6 +212,7 @@ all:
@echo " $(TARGETS_C2)"
@echo " $(TARGETS_C1)"
@echo " $(TARGETS_CORE)"
@echo " $(TARGETS_ZERO)"
checks: check_os_version check_j2se_version
@@ -245,6 +262,13 @@ $(SUBDIRS_CORE): $(BUILDTREE_MAKE)
$(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
$(BUILDTREE) VARIANT=core
$(SUBDIRS_ZERO): $(BUILDTREE_MAKE) platform_zero
$(QUIETLY) $(MAKE) -f $(GAMMADIR)/make/$(OSNAME)/Makefile checks
$(BUILDTREE) VARIANT=zero VARIANTARCH=$(VARIANTARCH)
platform_zero: $(GAMMADIR)/make/$(OSNAME)/platform_zero.in
$(SED) 's/@ZERO_ARCHDEF@/$(ZERO_ARCHDEF)/g;s/@ZERO_LIBARCH@/$(ZERO_LIBARCH)/g;' < $< > $@
# Define INSTALL=y at command line to automatically copy JVM into JAVA_HOME
$(TARGETS_C2): $(SUBDIRS_C2)
@@ -275,10 +299,18 @@ ifdef INSTALL
cd $(OSNAME)_$(BUILDARCH)_core/$(patsubst %core,%,$@) && $(MAKE) $(MFLAGS) install
endif
$(TARGETS_ZERO): $(SUBDIRS_ZERO)
cd $(OSNAME)_$(VARIANTARCH)_zero/$(patsubst %zero,%,$@) && $(MAKE) $(MFLAGS)
cd $(OSNAME)_$(VARIANTARCH)_zero/$(patsubst %zero,%,$@) && ./test_gamma
ifdef INSTALL
cd $(OSNAME)_$(VARIANTARCH)_zero/$(patsubst %zero,%,$@) && $(MAKE) $(MFLAGS) install
endif
# Just build the tree, and nothing else:
tree: $(SUBDIRS_C2)
tree1: $(SUBDIRS_C1)
treecore: $(SUBDIRS_CORE)
treezero: $(SUBDIRS_ZERO)
# Doc target. This is the same for all build options.
# Hence create a docs directory beside ...$(ARCH)_[...]
@@ -293,20 +325,22 @@ compiler1: jvmg1 product1
core: jvmgcore productcore
zero: jvmgzero productzero
clean_docs:
rm -rf $(SUBDIR_DOCS)
clean_compiler1 clean_compiler2 clean_core:
clean_compiler1 clean_compiler2 clean_core clean_zero:
rm -rf $(OSNAME)_$(BUILDARCH)_$(subst clean_,,$@)
clean: clean_compiler2 clean_compiler1 clean_core clean_docs
clean: clean_compiler2 clean_compiler1 clean_core clean_zero clean_docs
include $(GAMMADIR)/make/$(OSNAME)/makefiles/cscope.make
#-------------------------------------------------------------------------------
.PHONY: $(TARGETS_C2) $(TARGETS_C1) $(TARGETS_CORE)
.PHONY: tree tree1 treecore
.PHONY: all compiler1 compiler2 core
.PHONY: clean clean_compiler1 clean_compiler2 clean_core docs clean_docs
.PHONY: $(TARGETS_C2) $(TARGETS_C1) $(TARGETS_CORE) $(TARGETS_ZERO)
.PHONY: tree tree1 treecore treezero
.PHONY: all compiler1 compiler2 core zero
.PHONY: clean clean_compiler1 clean_compiler2 clean_core clean_zero docs clean_docs
.PHONY: checks check_os_version check_j2se_version

View File

@@ -63,20 +63,30 @@ QUIETLY$(MAKE_VERBOSE) = @
# For now, until the compiler is less wobbly:
TESTFLAGS = -Xbatch -showversion
ifdef USE_SUNCC
PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH).suncc
ifeq ($(ZERO_BUILD), true)
PLATFORM_FILE = $(shell dirname $(shell dirname $(shell pwd)))/platform_zero
else
PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH)
ifdef USE_SUNCC
PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH).suncc
else
PLATFORM_FILE = $(GAMMADIR)/make/$(OS_FAMILY)/platform_$(BUILDARCH)
endif
endif
# Allow overriding of the arch part of the directory but default
# to BUILDARCH if nothing is specified
ifeq ($(VARIANTARCH),)
VARIANTARCH=$(BUILDARCH)
endif
ifdef FORCE_TIERED
ifeq ($(VARIANT),tiered)
PLATFORM_DIR = $(OS_FAMILY)_$(BUILDARCH)_compiler2
PLATFORM_DIR = $(OS_FAMILY)_$(VARIANTARCH)_compiler2
else
PLATFORM_DIR = $(OS_FAMILY)_$(BUILDARCH)_$(VARIANT)
PLATFORM_DIR = $(OS_FAMILY)_$(VARIANTARCH)_$(VARIANT)
endif
else
PLATFORM_DIR = $(OS_FAMILY)_$(BUILDARCH)_$(VARIANT)
PLATFORM_DIR = $(OS_FAMILY)_$(VARIANTARCH)_$(VARIANT)
endif
#
@@ -321,6 +331,7 @@ DATA_MODE/sparc = 32
DATA_MODE/sparcv9 = 64
DATA_MODE/amd64 = 64
DATA_MODE/ia64 = 64
DATA_MODE/zero = $(ARCH_DATA_MODEL)
JAVA_FLAG/32 = -d32
JAVA_FLAG/64 = -d64

View File

@@ -38,7 +38,7 @@ _JUNK_ := $(shell echo -e >&2 ""\
"Please use 'make jvmg' to build debug JVM. \n" \
"----------------------------------------------------------------------\n")
G_SUFFIX =
G_SUFFIX = _g
VERSION = debug
SYSDEFS += -DASSERT -DDEBUG
PICFLAGS = DEFAULT

View File

@@ -37,6 +37,17 @@ else
ARCH_DATA_MODEL ?= 32
endif
# zero
ifeq ($(ZERO_BUILD), true)
ifeq ($(ARCH_DATA_MODEL), 64)
MAKE_ARGS += LP64=1
endif
PLATFORM = linux-zero
VM_PLATFORM = linux_$(subst i386,i486,$(ZERO_LIBARCH))
HS_ARCH = zero
ARCH = zero
endif
# ia64
ifeq ($(ARCH), ia64)
ARCH_DATA_MODEL = 64
@@ -93,21 +104,25 @@ JDK_INCLUDE_SUBDIR=linux
VM_DEBUG=jvmg
EXPORT_LIST += $(EXPORT_DOCS_DIR)/platform/jvmti/jvmti.html
# client and server subdirectories have symbolic links to ../libjsig.so
EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.so
EXPORT_SERVER_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/server
EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt
EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjsig.so
EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.so
ifeq ($(ARCH_DATA_MODEL), 32)
EXPORT_CLIENT_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/client
EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt
EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjsig.so
EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.so
EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.so
EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar
else
ifeq ($(ARCH),ia64)
else
EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.so
EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar
ifneq ($(ZERO_BUILD), true)
ifeq ($(ARCH_DATA_MODEL), 32)
EXPORT_CLIENT_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/client
EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt
EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.so
EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.so
EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar
else
ifeq ($(ARCH),ia64)
else
EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.so
EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar
endif
endif
endif

View File

@@ -58,7 +58,7 @@ CFLAGS$(HOTSPARC_GENERIC) += $(OPT_CFLAGS/BYFILE)
# Linker mapfile
MAPFILE = $(GAMMADIR)/make/linux/makefiles/mapfile-vers-debug
G_SUFFIX =
G_SUFFIX = _g
VERSION = optimized
SYSDEFS += -DASSERT -DFASTDEBUG
PICFLAGS = DEFAULT

View File

@@ -52,6 +52,9 @@ VM_PICFLAG/LIBJVM = $(PICFLAG)
VM_PICFLAG/AOUT =
VM_PICFLAG = $(VM_PICFLAG/$(LINK_INTO))
ifeq ($(ZERO_BUILD), true)
CFLAGS += $(LIBFFI_CFLAGS)
endif
CFLAGS += $(VM_PICFLAG)
CFLAGS += -fno-rtti
CFLAGS += -fno-exceptions
@@ -64,6 +67,7 @@ ARCHFLAG/amd64 = -m64
ARCHFLAG/ia64 =
ARCHFLAG/sparc = -m32 -mcpu=v9
ARCHFLAG/sparcv9 = -m64 -mcpu=v9
ARCHFLAG/zero = $(ZERO_ARCHFLAG)
CFLAGS += $(ARCHFLAG)
AOUT_FLAGS += $(ARCHFLAG)

View File

@@ -25,9 +25,12 @@
# Rules to build signal interposition library, used by vm.make
# libjsig[_g].so: signal interposition library
JSIG = jsig$(G_SUFFIX)
JSIG = jsig
LIBJSIG = lib$(JSIG).so
JSIG_G = $(JSIG)$(G_SUFFIX)
LIBJSIG_G = lib$(JSIG_G).so
JSIGSRCDIR = $(GAMMADIR)/src/os/$(Platform_os_family)/vm
DEST_JSIG = $(JDK_LIBDIR)/$(LIBJSIG)
@@ -50,6 +53,7 @@ $(LIBJSIG): $(JSIGSRCDIR)/jsig.c $(LIBJSIG_MAPFILE)
@echo Making signal interposition lib...
$(QUIETLY) $(CC) $(SYMFLAG) $(ARCHFLAG) $(SHARED_FLAG) $(PICFLAG) \
$(LFLAGS_JSIG) $(JSIG_DEBUG_CFLAGS) -o $@ $< -ldl
$(QUIETLY) [ -f $(LIBJSIG_G) ] || { ln -s $@ $(LIBJSIG_G); }
install_jsig: $(LIBJSIG)
@echo "Copying $(LIBJSIG) to $(DEST_JSIG)"

View File

@@ -35,7 +35,7 @@ CFLAGS += $(DEBUG_CFLAGS/BYFILE)
# Linker mapfile
MAPFILE = $(GAMMADIR)/make/linux/makefiles/mapfile-vers-debug
G_SUFFIX =
G_SUFFIX = _g
VERSION = debug
SYSDEFS += -DASSERT -DDEBUG
PICFLAGS = DEFAULT

View File

@@ -70,10 +70,10 @@ all: $(JvmtiGeneratedFiles)
both = $(JvmtiGenClass) $(JvmtiSrcDir)/jvmti.xml $(JvmtiSrcDir)/jvmtiLib.xsl
$(JvmtiGenClass): $(JvmtiGenSource)
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -g -d $(JvmtiOutDir) $(JvmtiGenSource)
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -d $(JvmtiOutDir) $(JvmtiGenSource)
$(JvmtiEnvFillClass): $(JvmtiEnvFillSource)
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -g -d $(JvmtiOutDir) $(JvmtiEnvFillSource)
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -d $(JvmtiOutDir) $(JvmtiEnvFillSource)
$(JvmtiOutDir)/jvmtiEnter.cpp: $(both) $(JvmtiSrcDir)/jvmtiEnter.xsl
@echo Generating $@

View File

@@ -25,7 +25,9 @@
# Rules to build gamma launcher, used by vm.make
# gamma[_g]: launcher
LAUNCHER = gamma$(G_SUFFIX)
LAUNCHER = gamma
LAUNCHER_G = $(LAUNCHER)$(G_SUFFIX)
LAUNCHERDIR = $(GAMMADIR)/src/os/$(Platform_os_family)/launcher
LAUNCHERFLAGS = $(ARCHFLAG) \
@@ -70,4 +72,5 @@ $(LAUNCHER): $(LAUNCHER.o) $(LIBJVM) $(LAUNCHER_MAPFILE)
$(LINK_LAUNCHER/PRE_HOOK) \
$(LINK_LAUNCHER) $(LFLAGS_LAUNCHER) -o $@ $(LAUNCHER.o) $(LIBS_LAUNCHER); \
$(LINK_LAUNCHER/POST_HOOK) \
[ -f $(LAUNCHER_G) ] || { ln -s $@ $(LAUNCHER_G); }; \
}

View File

@@ -74,6 +74,7 @@ SUNWprivate_1.1 {
JVM_CurrentTimeMillis;
JVM_DefineClass;
JVM_DefineClassWithSource;
JVM_DefineClassWithSourceCond;
JVM_DesiredAssertionStatus;
JVM_DisableCompiler;
JVM_DoPrivileged;

View File

@@ -74,6 +74,7 @@ SUNWprivate_1.1 {
JVM_CurrentTimeMillis;
JVM_DefineClass;
JVM_DefineClassWithSource;
JVM_DefineClassWithSourceCond;
JVM_DesiredAssertionStatus;
JVM_DisableCompiler;
JVM_DoPrivileged;

View File

@@ -122,12 +122,20 @@ endif
endif
endif
COMPILE.JAVAC += $(BOOTSTRAP_JAVAC_FLAGS)
SUM = /usr/bin/sum
# 'gmake MAKE_VERBOSE=y' gives all the gory details.
QUIETLY$(MAKE_VERBOSE) = @
RUN.JAR$(MAKE_VERBOSE) += >/dev/null
# Settings for javac
BOOT_SOURCE_LANGUAGE_VERSION = 6
BOOT_TARGET_CLASS_VERSION = 6
JAVAC_FLAGS = -g -encoding ascii
BOOTSTRAP_JAVAC_FLAGS = $(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
# With parallel makes, print a message at the end of compilation.
ifeq ($(findstring j,$(MFLAGS)),j)
COMPILE_DONE = && { echo Done with $<; }

View File

@@ -52,10 +52,10 @@ SA_BUILD_VERSION_PROP = "sun.jvm.hotspot.runtime.VM.saBuildVersion=$(SA_BUILD_VE
SA_PROPERTIES = $(SA_CLASSDIR)/sa.properties
# if $(AGENT_DIR) does not exist, we don't build SA
# also, we don't build SA on Itanium.
# also, we don't build SA on Itanium or zero.
all:
if [ -d $(AGENT_DIR) -a "$(SRCARCH)" != "ia64" ] ; then \
if [ -d $(AGENT_DIR) -a "$(SRCARCH)" != "ia64" -a "$(SRCARCH)" != "zero" ] ; then \
$(MAKE) -f sa.make $(GENERATED)/sa-jdi.jar; \
fi
@@ -74,8 +74,8 @@ $(GENERATED)/sa-jdi.jar: $(AGENT_FILES1) $(AGENT_FILES2)
mkdir -p $(SA_CLASSDIR); \
fi
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -source 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -g -d $(SA_CLASSDIR) $(AGENT_FILES1)
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -source 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -g -d $(SA_CLASSDIR) $(AGENT_FILES2)
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -source 1.4 -target 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -d $(SA_CLASSDIR) $(AGENT_FILES1)
$(QUIETLY) $(REMOTE) $(COMPILE.JAVAC) -source 1.4 -target 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -d $(SA_CLASSDIR) $(AGENT_FILES2)
$(QUIETLY) $(REMOTE) $(COMPILE.RMIC) -classpath $(SA_CLASSDIR) -d $(SA_CLASSDIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
$(QUIETLY) echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES)

View File

@@ -25,9 +25,13 @@
# Rules to build serviceability agent library, used by vm.make
# libsaproc[_g].so: serviceability agent
SAPROC = saproc$(G_SUFFIX)
SAPROC = saproc
LIBSAPROC = lib$(SAPROC).so
SAPROC_G = $(SAPROC)$(G_SUFFIX)
LIBSAPROC_G = lib$(SAPROC_G).so
AGENT_DIR = $(GAMMADIR)/agent
SASRCDIR = $(AGENT_DIR)/src/os/$(Platform_os_family)
@@ -49,10 +53,10 @@ ifeq ($(DEBUG_BINARIES), true)
endif
# if $(AGENT_DIR) does not exist, we don't build SA
# also, we don't build SA on Itanium.
# also, we don't build SA on Itanium or zero.
checkAndBuildSA:
$(QUIETLY) if [ -d $(AGENT_DIR) -a "$(SRCARCH)" != "ia64" ] ; then \
$(QUIETLY) if [ -d $(AGENT_DIR) -a "$(SRCARCH)" != "ia64" -a "$(SRCARCH)" != "zero" ] ; then \
$(MAKE) -f vm.make $(LIBSAPROC); \
fi
@@ -75,6 +79,7 @@ $(LIBSAPROC): $(SASRCFILES) $(SAMAPFILE)
$(SA_DEBUG_CFLAGS) \
-o $@ \
-lthread_db
$(QUIETLY) [ -f $(LIBSAPROC_G) ] || { ln -s $@ $(LIBSAPROC_G); }
install_saproc: checkAndBuildSA
$(QUIETLY) if [ -e $(LIBSAPROC) ] ; then \

View File

@@ -24,7 +24,7 @@
# top.make is included in the Makefile in the build directories.
# It DOES NOT include the vm dependency info in order to be faster.
# It's main job is to implement the incremental form of make lists.
# Its main job is to implement the incremental form of make lists.
# It also:
# -builds and runs adlc via adlc.make
# -generates JVMTI source and docs via jvmti.make (JSR-163)
@@ -74,6 +74,7 @@ Include_DBs/CORE = $(VM)/includeDB_core $(Include_DBs/GC) \
Include_DBs/COMPILER1 = $(Include_DBs/CORE) $(VM)/includeDB_compiler1
Include_DBs/COMPILER2 = $(Include_DBs/CORE) $(VM)/includeDB_compiler2
Include_DBs/TIERED = $(Include_DBs/CORE) $(VM)/includeDB_compiler1 $(VM)/includeDB_compiler2
Include_DBs/ZERO = $(Include_DBs/CORE) $(VM)/includeDB_zero
Include_DBs = $(Include_DBs/$(TYPE))
Cached_plat = $(GENERATED)/platform.current
@@ -114,7 +115,7 @@ vm_build_preliminaries: checks $(Incremental_Lists) $(AD_Files_If_Required) jvm
# make makeDeps: (and zap the cached db files to force a nonincremental run)
$(GENERATED)/$(MakeDepsClass): $(MakeDepsSources)
@$(REMOTE) $(COMPILE.JAVAC) -classpath $(GAMMADIR)/src/share/tools/MakeDeps -g -d $(GENERATED) $(MakeDepsSources)
@$(REMOTE) $(COMPILE.JAVAC) -classpath $(GAMMADIR)/src/share/tools/MakeDeps -d $(GENERATED) $(MakeDepsSources)
@echo Removing $(Incremental_Lists) to force regeneration.
@rm -f $(Incremental_Lists)
@$(CDG) echo >$(Cached_plat)

View File

@@ -40,7 +40,11 @@ GENERATED = ../generated
include $(GENERATED)/Dependencies
# read machine-specific adjustments (%%% should do this via buildtree.make?)
include $(MAKEFILES_DIR)/$(BUILDARCH).make
ifeq ($(ZERO_BUILD), true)
include $(MAKEFILES_DIR)/zeroshark.make
else
include $(MAKEFILES_DIR)/$(BUILDARCH).make
endif
# set VPATH so make knows where to look for source files
# Src_Dirs is everything in src/share/vm/*, plus the right os/*/vm and cpu/*/vm
@@ -109,8 +113,9 @@ include $(MAKEFILES_DIR)/dtrace.make
#----------------------------------------------------------------------
# JVM
JVM = jvm$(G_SUFFIX)
LIBJVM = lib$(JVM).so
JVM = jvm
LIBJVM = lib$(JVM).so
LIBJVM_G = lib$(JVM)$(G_SUFFIX).so
JVM_OBJ_FILES = $(Obj_Files)
@@ -124,7 +129,11 @@ mapfile_reorder : mapfile $(REORDERFILE)
rm -f $@
cat $^ > $@
STATIC_CXX = true
ifeq ($(ZERO_LIBARCH), ppc64)
STATIC_CXX = false
else
STATIC_CXX = true
endif
ifeq ($(LINK_INTO),AOUT)
LIBJVM.o =
@@ -148,6 +157,9 @@ else
LIBS_VM += $(LIBS)
endif
ifeq ($(ZERO_BUILD), true)
LIBS_VM += $(LIBFFI_LIBS)
endif
LINK_VM = $(LINK_LIB.c)
@@ -190,6 +202,7 @@ $(LIBJVM): $(LIBJVM.o) $(LIBJVM_MAPFILE) $(LD_SCRIPT)
$(LFLAGS_VM) -o $@ $(LIBJVM.o) $(LIBS_VM); \
$(LINK_LIB.CC/POST_HOOK) \
rm -f $@.1; ln -s $@ $@.1; \
[ -f $(LIBJVM_G) ] || { ln -s $@ $(LIBJVM_G); ln -s $@.1 $(LIBJVM_G).1; }; \
if [ -x /usr/sbin/selinuxenabled ] ; then \
/usr/sbin/selinuxenabled; \
if [ $$? = 0 ] ; then \

View File

@@ -0,0 +1,32 @@
#
# Copyright 1999-2008 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2009 Red Hat, Inc.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
# CA 95054 USA or visit www.sun.com if you need additional information or
# have any questions.
#
#
# Setup for Zero (non-Shark) version of VM
# Select which includeDB files to use (in top.make)
TYPE = ZERO
# Install libjvm.so, etc in in server directory.
VM_SUBDIR = server

View File

@@ -0,0 +1,43 @@
#
# Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.
# Copyright 2007, 2008 Red Hat, Inc.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
# CA 95054 USA or visit www.sun.com if you need additional information or
# have any questions.
#
#
# Setup common to Zero (non-Shark) and Shark versions of VM
# The copied fdlibm routines in sharedRuntimeTrig.o must not be optimized
OPT_CFLAGS/sharedRuntimeTrig.o = $(OPT_CFLAGS/NOOPT)
# The copied fdlibm routines in sharedRuntimeTrans.o must not be optimized
OPT_CFLAGS/sharedRuntimeTrans.o = $(OPT_CFLAGS/NOOPT)
# Specify that the CPU is little endian, if necessary
ifeq ($(ZERO_ENDIANNESS), little)
CFLAGS += -DVM_LITTLE_ENDIAN
endif
# Specify that the CPU is 64 bit, if necessary
ifeq ($(ARCH_DATA_MODEL), 64)
CFLAGS += -D_LP64=1
endif
OPT_CFLAGS/compactingPermGenGen.o = -O1

View File

@@ -0,0 +1,17 @@
os_family = linux
arch = zero
arch_model = zero
os_arch = linux_zero
os_arch_model = linux_zero
lib_arch = zero
compiler = gcc
gnu_dis_arch = zero
sysdefs = -DLINUX -D_GNU_SOURCE -DCC_INTERP -DZERO -D@ZERO_ARCHDEF@ -DZERO_LIBARCH=\"@ZERO_LIBARCH@\"

View File

@@ -54,7 +54,7 @@ _JUNK_ := $(shell echo >&2 ""\
"Please use 'gnumake jvmg' to build debug JVM. \n" \
"-------------------------------------------------------------------------\n")
G_SUFFIX =
G_SUFFIX = _g
VERSION = debug
SYSDEFS += -DASSERT -DDEBUG
PICFLAGS = DEFAULT

View File

@@ -65,16 +65,18 @@ JDK_INCLUDE_SUBDIR=solaris
VM_DEBUG=jvmg
EXPORT_LIST += $(EXPORT_DOCS_DIR)/platform/jvmti/jvmti.html
# client and server subdirectories have symbolic links to ../libjsig.so
EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.so
EXPORT_SERVER_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/server
EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt
EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjsig.so
EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.so
EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm_db.so
EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm_dtrace.so
ifeq ($(ARCH_DATA_MODEL), 32)
EXPORT_CLIENT_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/client
EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt
EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjsig.so
EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.so
EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_db.so
EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_dtrace.so

View File

@@ -24,8 +24,8 @@
# Rules to build jvm_db/dtrace, used by vm.make
# we build libjvm_dtrace/libjvm_db/dtrace for COMPILER1 and COMPILER2
# but not for CORE configuration
# We build libjvm_dtrace/libjvm_db/dtrace for COMPILER1 and COMPILER2
# but not for CORE or KERNEL configurations.
ifneq ("${TYPE}", "CORE")
ifneq ("${TYPE}", "KERNEL")
@@ -37,12 +37,13 @@ dtraceCheck:
else
JVM_DB = libjvm_db
LIBJVM_DB = libjvm$(G_SUFFIX)_db.so
LIBJVM_DB = libjvm_db.so
LIBJVM_DB_G = libjvm$(G_SUFFIX)_db.so
JVM_DTRACE = jvm_dtrace
LIBJVM_DTRACE = libjvm$(G_SUFFIX)_dtrace.so
LIBJVM_DTRACE = libjvm_dtrace.so
LIBJVM_DTRACE_G = libjvm$(G_SUFFIX)_dtrace.so
JVMOFFS = JvmOffsets
JVMOFFS.o = $(JVMOFFS).o
@@ -77,7 +78,7 @@ LFLAGS_JVM_DB += -D_REENTRANT $(PICFLAG)
LFLAGS_JVM_DTRACE += -D_REENTRANT $(PICFLAG)
else
LFLAGS_JVM_DB += -mt $(PICFLAG) -xnolib
LFLAGS_JVM_DTRACE += -mt $(PICFLAG) -xnolib
LFLAGS_JVM_DTRACE += -mt $(PICFLAG) -xnolib -ldl
endif
ISA = $(subst i386,i486,$(shell isainfo -n))
@@ -86,18 +87,24 @@ ISA = $(subst i386,i486,$(shell isainfo -n))
ifneq ("${ISA}","${BUILDARCH}")
XLIBJVM_DB = 64/$(LIBJVM_DB)
XLIBJVM_DB_G = 64/$(LIBJVM_DB_G)
XLIBJVM_DTRACE = 64/$(LIBJVM_DTRACE)
XLIBJVM_DTRACE_G = 64/$(LIBJVM_DTRACE_G)
$(XLIBJVM_DB): $(DTRACE_SRCDIR)/$(JVM_DB).c $(JVMOFFS).h $(LIBJVM_DB_MAPFILE)
@echo Making $@
$(QUIETLY) mkdir -p 64/ ; \
$(CC) $(SYMFLAG) $(ARCHFLAG/$(ISA)) -D$(TYPE) -I. -I$(GENERATED) \
$(SHARED_FLAG) $(LFLAGS_JVM_DB) -o $@ $(DTRACE_SRCDIR)/$(JVM_DB).c -lc
[ -f $(XLIBJVM_DB_G) ] || { ln -s $(LIBJVM_DB) $(XLIBJVM_DB_G); }
$(XLIBJVM_DTRACE): $(DTRACE_SRCDIR)/$(JVM_DTRACE).c $(DTRACE_SRCDIR)/$(JVM_DTRACE).h $(LIBJVM_DTRACE_MAPFILE)
@echo Making $@
$(QUIETLY) mkdir -p 64/ ; \
$(CC) $(SYMFLAG) $(ARCHFLAG/$(ISA)) -D$(TYPE) -I. \
$(SHARED_FLAG) $(LFLAGS_JVM_DTRACE) -o $@ $(DTRACE_SRCDIR)/$(JVM_DTRACE).c -lc -lthread -ldoor
[ -f $(XLIBJVM_DTRACE_G) ] || { ln -s $(LIBJVM_DTRACE) $(XLIBJVM_DTRACE_G); }
endif # ifneq ("${ISA}","${BUILDARCH}")
ifdef USE_GCC
@@ -142,11 +149,13 @@ $(LIBJVM_DB): $(DTRACE_SRCDIR)/$(JVM_DB).c $(JVMOFFS.o) $(XLIBJVM_DB) $(LIBJVM_D
@echo Making $@
$(QUIETLY) $(CC) $(SYMFLAG) $(ARCHFLAG) -D$(TYPE) -I. -I$(GENERATED) \
$(SHARED_FLAG) $(LFLAGS_JVM_DB) -o $@ $(DTRACE_SRCDIR)/$(JVM_DB).c -lc
[ -f $(LIBJVM_DB_G) ] || { ln -s $@ $(LIBJVM_DB_G); }
$(LIBJVM_DTRACE): $(DTRACE_SRCDIR)/$(JVM_DTRACE).c $(XLIBJVM_DTRACE) $(DTRACE_SRCDIR)/$(JVM_DTRACE).h $(LIBJVM_DTRACE_MAPFILE)
@echo Making $@
$(QUIETLY) $(CC) $(SYMFLAG) $(ARCHFLAG) -D$(TYPE) -I. \
$(SHARED_FLAG) $(LFLAGS_JVM_DTRACE) -o $@ $(DTRACE_SRCDIR)/$(JVM_DTRACE).c -lc -lthread -ldoor
[ -f $(LIBJVM_DTRACE_G) ] || { ln -s $@ $(LIBJVM_DTRACE_G); }
$(DTRACE).d: $(DTRACE_SRCDIR)/hotspot.d $(DTRACE_SRCDIR)/hotspot_jni.d \
$(DTRACE_SRCDIR)/hs_private.d $(DTRACE_SRCDIR)/jhelper.d

View File

@@ -90,7 +90,6 @@ endif # Platform_compiler == sparcWorks
# for this method for now. (fix this when dtrace bug 6258412 is fixed)
OPT_CFLAGS/ciEnv.o = $(OPT_CFLAGS) -xinline=no%__1cFciEnvbFpost_compiled_method_load_event6MpnHnmethod__v_
# (OPT_CFLAGS/SLOWER is also available, to alter compilation of buggy files)
# If you set HOTSPARC_GENERIC=yes, you disable all OPT_CFLAGS settings
@@ -115,8 +114,7 @@ MAPFILE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers \
# and mustn't be otherwise.
MAPFILE_DTRACE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-$(TYPE)
G_SUFFIX =
G_SUFFIX = _g
VERSION = optimized
SYSDEFS += -DASSERT -DFASTDEBUG -DCHECK_UNHANDLED_OOPS
PICFLAGS = DEFAULT

View File

@@ -25,8 +25,11 @@
# Rules to build signal interposition library, used by vm.make
# libjsig[_g].so: signal interposition library
JSIG = jsig$(G_SUFFIX)
LIBJSIG = lib$(JSIG).so
JSIG = jsig
LIBJSIG = lib$(JSIG).so
JSIG_G = $(JSIG)$(G_SUFFIX)
LIBJSIG_G = lib$(JSIG_G).so
JSIGSRCDIR = $(GAMMADIR)/src/os/$(Platform_os_family)/vm
@@ -46,6 +49,7 @@ $(LIBJSIG): $(JSIGSRCDIR)/jsig.c $(LIBJSIG_MAPFILE)
@echo Making signal interposition lib...
$(QUIETLY) $(CC) $(SYMFLAG) $(ARCHFLAG) $(SHARED_FLAG) $(PICFLAG) \
$(LFLAGS_JSIG) -o $@ $< -ldl
[ -f $(LIBJSIG_G) ] || { ln -s $@ $(LIBJSIG_G); }
install_jsig: $(LIBJSIG)
@echo "Copying $(LIBJSIG) to $(DEST_JSIG)"

View File

@@ -51,7 +51,7 @@ MAPFILE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers \
# and mustn't be otherwise.
MAPFILE_DTRACE = $(GAMMADIR)/make/solaris/makefiles/mapfile-vers-$(TYPE)
G_SUFFIX =
G_SUFFIX = _g
VERSION = debug
SYSDEFS += -DASSERT -DDEBUG
PICFLAGS = DEFAULT

View File

@@ -69,10 +69,10 @@ all: $(JvmtiGeneratedFiles)
both = $(JvmtiGenClass) $(JvmtiSrcDir)/jvmti.xml $(JvmtiSrcDir)/jvmtiLib.xsl
$(JvmtiGenClass): $(JvmtiGenSource)
$(QUIETLY) $(COMPILE.JAVAC) -g -d $(JvmtiOutDir) $(JvmtiGenSource)
$(QUIETLY) $(COMPILE.JAVAC) -d $(JvmtiOutDir) $(JvmtiGenSource)
$(JvmtiEnvFillClass): $(JvmtiEnvFillSource)
$(QUIETLY) $(COMPILE.JAVAC) -g -d $(JvmtiOutDir) $(JvmtiEnvFillSource)
$(QUIETLY) $(COMPILE.JAVAC) -d $(JvmtiOutDir) $(JvmtiEnvFillSource)
$(JvmtiOutDir)/jvmtiEnter.cpp: $(both) $(JvmtiSrcDir)/jvmtiEnter.xsl
@echo Generating $@

View File

@@ -25,7 +25,8 @@
# Rules to build gamma launcher, used by vm.make
# gamma[_g]: launcher
LAUNCHER = gamma$(G_SUFFIX)
LAUNCHER = gamma
LAUNCHER_G = $(LAUNCHER)$(G_SUFFIX)
LAUNCHERDIR = $(GAMMADIR)/src/os/$(Platform_os_family)/launcher
LAUNCHERFLAGS = $(ARCHFLAG) \
@@ -88,5 +89,6 @@ $(LAUNCHER): $(LAUNCHER.o) $(LIBJVM) $(LAUNCHER_MAPFILE)
$(LINK_LAUNCHER/PRE_HOOK) \
$(LINK_LAUNCHER) $(LFLAGS_LAUNCHER) -o $@ $(LAUNCHER.o) $(LIBS_LAUNCHER); \
$(LINK_LAUNCHER/POST_HOOK) \
[ -f $(LAUNCHER_G) ] || { ln -s $@ $(LAUNCHER_G); }; \
;; \
esac

View File

@@ -74,6 +74,7 @@ SUNWprivate_1.1 {
JVM_CurrentTimeMillis;
JVM_DefineClass;
JVM_DefineClassWithSource;
JVM_DefineClassWithSourceCond;
JVM_DesiredAssertionStatus;
JVM_DisableCompiler;
JVM_DoPrivileged;

View File

@@ -122,12 +122,20 @@ endif
endif
endif
COMPILE.JAVAC += $(BOOTSTRAP_JAVAC_FLAGS)
SUM = /usr/bin/sum
# 'gmake MAKE_VERBOSE=y' gives all the gory details.
QUIETLY$(MAKE_VERBOSE) = @
RUN.JAR$(MAKE_VERBOSE) += >/dev/null
# Settings for javac
BOOT_SOURCE_LANGUAGE_VERSION = 6
BOOT_TARGET_CLASS_VERSION = 6
JAVAC_FLAGS = -g -encoding ascii
BOOTSTRAP_JAVAC_FLAGS = $(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
# With parallel makes, print a message at the end of compilation.
ifeq ($(findstring j,$(MFLAGS)),j)
COMPILE_DONE = && { echo Done with $<; }

View File

@@ -67,8 +67,8 @@ $(GENERATED)/sa-jdi.jar: $(AGENT_FILES1) $(AGENT_FILES2)
$(QUIETLY) if [ ! -d $(SA_CLASSDIR) ] ; then \
mkdir -p $(SA_CLASSDIR); \
fi
$(QUIETLY) $(COMPILE.JAVAC) -source 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -g -d $(SA_CLASSDIR) $(AGENT_FILES1)
$(QUIETLY) $(COMPILE.JAVAC) -source 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -g -d $(SA_CLASSDIR) $(AGENT_FILES2)
$(QUIETLY) $(COMPILE.JAVAC) -source 1.4 -target 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -d $(SA_CLASSDIR) $(AGENT_FILES1)
$(QUIETLY) $(COMPILE.JAVAC) -source 1.4 -target 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -d $(SA_CLASSDIR) $(AGENT_FILES2)
$(QUIETLY) $(COMPILE.RMIC) -classpath $(SA_CLASSDIR) -d $(SA_CLASSDIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
$(QUIETLY) echo "$(SA_BUILD_VERSION_PROP)" > $(SA_PROPERTIES)

View File

@@ -25,9 +25,13 @@
# Rules to build serviceability agent library, used by vm.make
# libsaproc[_g].so: serviceability agent
SAPROC = saproc$(G_SUFFIX)
SAPROC = saproc
LIBSAPROC = lib$(SAPROC).so
SAPROC_G = $(SAPROC)$(G_SUFFIX)
LIBSAPROC_G = lib$(SAPROC_G).so
AGENT_DIR = $(GAMMADIR)/agent
SASRCDIR = $(AGENT_DIR)/src/os/$(Platform_os_family)/proc
@@ -69,6 +73,7 @@ $(LIBSAPROC): $(SASRCFILES) $(SAMAPFILE)
$(SA_LFLAGS) \
-o $@ \
-ldl -ldemangle -lthread -lc
[ -f $(LIBSAPROC_G) ] || { ln -s $@ $(LIBSAPROC_G); }
install_saproc: checkAndBuildSA
$(QUIETLY) if [ -f $(LIBSAPROC) ] ; then \

View File

@@ -281,8 +281,6 @@ else
OPT_CFLAGS=-xO4 $(EXTRA_OPT_CFLAGS)
endif
CFLAGS += $(GAMMADIR)/src/os_cpu/solaris_sparc/vm/solaris_sparc.il
endif # sparc
ifeq ("${Platform_arch_model}", "x86_32")
@@ -293,13 +291,14 @@ OPT_CFLAGS=-xtarget=pentium $(EXTRA_OPT_CFLAGS)
# [phh] Is this still true for 6.1?
OPT_CFLAGS+=-xO3
CFLAGS += $(GAMMADIR)/src/os_cpu/solaris_x86/vm/solaris_x86_32.il
endif # 32bit x86
# no more exceptions
CFLAGS/NOEX=-noex
# Inline functions
CFLAGS += $(GAMMADIR)/src/os_cpu/solaris_${Platform_arch}/vm/solaris_${Platform_arch_model}.il
# Reduce code bloat by reverting back to 5.0 behavior for static initializers
CFLAGS += -Qoption ccfe -one_static_init
@@ -312,6 +311,15 @@ PICFLAG/DEFAULT = $(PICFLAG)
PICFLAG/BETTER = $(PICFLAG/DEFAULT)
PICFLAG/BYFILE = $(PICFLAG/$@)$(PICFLAG/DEFAULT$(PICFLAG/$@))
# Use $(MAPFLAG:FILENAME=real_file_name) to specify a map file.
MAPFLAG = -M FILENAME
# Use $(SONAMEFLAG:SONAME=soname) to specify the intrinsic name of a shared obj
SONAMEFLAG = -h SONAME
# Build shared library
SHARED_FLAG = -G
# Would be better if these weren't needed, since we link with CC, but
# at present removing them causes run-time errors
LFLAGS += -library=Crun

View File

@@ -24,7 +24,7 @@
# top.make is included in the Makefile in the build directories.
# It DOES NOT include the vm dependency info in order to be faster.
# It's main job is to implement the incremental form of make lists.
# Its main job is to implement the incremental form of make lists.
# It also:
# -builds and runs adlc via adlc.make
# -generates JVMTI source and docs via jvmti.make (JSR-163)
@@ -112,7 +112,7 @@ vm_build_preliminaries: checks $(Incremental_Lists) $(AD_Files_If_Required) jvm
# make makeDeps: (and zap the cached db files to force a nonincremental run)
$(GENERATED)/$(MakeDepsClass): $(MakeDepsSources)
@$(COMPILE.JAVAC) -classpath $(GAMMADIR)/src/share/tools/MakeDeps -g -d $(GENERATED) $(MakeDepsSources)
@$(COMPILE.JAVAC) -classpath $(GAMMADIR)/src/share/tools/MakeDeps -d $(GENERATED) $(MakeDepsSources)
@echo Removing $(Incremental_Lists) to force regeneration.
@rm -f $(Incremental_Lists)
@$(CDG) echo >$(Cached_plat)

View File

@@ -108,11 +108,16 @@ ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 505), 1)
# older libm before libCrun, just to make sure it's found and used first.
LIBS += -lsocket -lsched -ldl $(LIBM) -lCrun -lthread -ldoor -lc
else
ifeq ($(COMPILER_REV_NUMERIC), 502)
# SC6.1 has it's own libm.so: specifying anything else provokes a name conflict.
LIBS += -ldl -lthread -lsocket -lm -lsched -ldoor
else
LIBS += -ldl -lthread -lsocket $(LIBM) -lsched -ldoor
endif
endif # 502
endif # 505
else
LIBS += -lsocket -lsched -ldl $(LIBM) -lthread -lc
endif
endif # sparcWorks
# By default, link the *.o into the library, not the executable.
LINK_INTO$(LINK_INTO) = LIBJVM
@@ -126,8 +131,9 @@ include $(MAKEFILES_DIR)/dtrace.make
#----------------------------------------------------------------------
# JVM
JVM = jvm$(G_SUFFIX)
LIBJVM = lib$(JVM).so
JVM = jvm
LIBJVM = lib$(JVM).so
LIBJVM_G = lib$(JVM)$(G_SUFFIX).so
JVM_OBJ_FILES = $(Obj_Files) $(DTRACE_OBJS)
@@ -173,11 +179,12 @@ $(LIBJVM): $(LIBJVM.o) $(LIBJVM_MAPFILE)
-sbfast|-xsbfast) \
;; \
*) \
echo Linking vm...; \
$(LINK_LIB.CC/PRE_HOOK) \
$(LINK_VM) $(LFLAGS_VM) -o $@ $(LIBJVM.o) $(LIBS_VM); \
$(LINK_LIB.CC/POST_HOOK) \
rm -f $@.1; ln -s $@ $@.1; \
echo Linking vm...; \
$(LINK_LIB.CC/PRE_HOOK) \
$(LINK_VM) $(LFLAGS_VM) -o $@ $(LIBJVM.o) $(LIBS_VM); \
$(LINK_LIB.CC/POST_HOOK) \
rm -f $@.1; ln -s $@ $@.1; \
[ -f $(LIBJVM_G) ] || { ln -s $@ $(LIBJVM_G); ln -s $@.1 $(LIBJVM_G).1; }; \
;; \
esac

View File

@@ -91,7 +91,7 @@ includeDB.current Dependencies: classes/MakeDeps.class $(IncludeDBs)
classes/MakeDeps.class: $(MakeDepsSources)
if exist classes rmdir /s /q classes
mkdir classes
$(COMPILE_JAVAC) -classpath $(WorkSpace)\src\share\tools\MakeDeps -g -d classes $(MakeDepsSources)
$(COMPILE_JAVAC) -classpath $(WorkSpace)\src\share\tools\MakeDeps -d classes $(MakeDepsSources)
!if ("$(Variant)" == "compiler2") || ("$(Variant)" == "tiered")

View File

@@ -68,10 +68,10 @@ default::
@if not exist $(JvmtiOutDir) mkdir $(JvmtiOutDir)
$(JvmtiGenClass): $(JvmtiGenSource)
$(COMPILE_JAVAC) -g -d $(JvmtiOutDir) $(JvmtiGenSource)
$(COMPILE_JAVAC) -d $(JvmtiOutDir) $(JvmtiGenSource)
$(JvmtiEnvFillClass): $(JvmtiEnvFillSource)
@$(COMPILE_JAVAC) -g -d $(JvmtiOutDir) $(JvmtiEnvFillSource)
@$(COMPILE_JAVAC) -d $(JvmtiOutDir) $(JvmtiEnvFillSource)
$(JvmtiOutDir)/jvmtiEnter.cpp: $(both) $(JvmtiSrcDir)/jvmtiEnter.xsl
@echo Generating $@

View File

@@ -29,7 +29,7 @@ RUN_JAVA=$(BootStrapDir)\bin\java
RUN_JAVAP=$(BootStrapDir)\bin\javap
RUN_JAVAH=$(BootStrapDir)\bin\javah
RUN_JAR=$(BootStrapDir)\bin\jar
COMPILE_JAVAC=$(BootStrapDir)\bin\javac
COMPILE_JAVAC=$(BootStrapDir)\bin\javac $(BOOTSTRAP_JAVAC_FLAGS)
COMPILE_RMIC=$(BootStrapDir)\bin\rmic
BOOT_JAVA_HOME=$(BootStrapDir)
!else
@@ -37,11 +37,17 @@ RUN_JAVA=java
RUN_JAVAP=javap
RUN_JAVAH=javah
RUN_JAR=jar
COMPILE_JAVAC=javac
COMPILE_JAVAC=javac $(BOOTSTRAP_JAVAC_FLAGS)
COMPILE_RMIC=rmic
BOOT_JAVA_HOME=
!endif
# Settings for javac
BOOT_SOURCE_LANGUAGE_VERSION=6
BOOT_TARGET_CLASS_VERSION=6
JAVAC_FLAGS=-g -encoding ascii
BOOTSTRAP_JAVAC_FLAGS=$(JAVAC_FLAGS) -source $(BOOT_SOURCE_LANGUAGE_VERSION) -target $(BOOT_TARGET_CLASS_VERSION)
ProjectFile=vm.vcproj
!if "$(MSC_VER)" == "1200"

View File

@@ -55,9 +55,9 @@ default:: $(GENERATED)\sa-jdi.jar
$(GENERATED)\sa-jdi.jar: $(AGENT_FILES1:/=\) $(AGENT_FILES2:/=\)
@if not exist $(SA_CLASSDIR) mkdir $(SA_CLASSDIR)
@echo ...Building sa-jdi.jar
@echo ...$(COMPILE_JAVAC) -source 1.4 -classpath $(SA_CLASSPATH) -g -d $(SA_CLASSDIR) ....
@$(COMPILE_JAVAC) -source 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -g -d $(SA_CLASSDIR) $(AGENT_FILES1:/=\)
@$(COMPILE_JAVAC) -source 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -g -d $(SA_CLASSDIR) $(AGENT_FILES2:/=\)
@echo ...$(COMPILE_JAVAC) -source 1.4 -target 1.4 -classpath $(SA_CLASSPATH) -d $(SA_CLASSDIR) ....
@$(COMPILE_JAVAC) -source 1.4 -target 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -d $(SA_CLASSDIR) $(AGENT_FILES1:/=\)
@$(COMPILE_JAVAC) -source 1.4 -target 1.4 -classpath $(SA_CLASSPATH) -sourcepath $(AGENT_SRC_DIR) -d $(SA_CLASSDIR) $(AGENT_FILES2:/=\)
$(COMPILE_RMIC) -classpath $(SA_CLASSDIR) -d $(SA_CLASSDIR) sun.jvm.hotspot.debugger.remote.RemoteDebuggerServer
$(QUIETLY) echo $(SA_BUILD_VERSION_PROP)> $(SA_PROPERTIES)
$(QUIETLY) rm -f $(SA_CLASSDIR)/sun/jvm/hotspot/utilities/soql/sa.js

View File

@@ -179,6 +179,6 @@ clean:
$(HOTSPOTBUILDSPACE)/classes/MakeDeps.class: $(MakeDepsSources)
@if exist $(HOTSPOTBUILDSPACE)\classes rmdir /s /q $(HOTSPOTBUILDSPACE)\classes
@mkdir $(HOTSPOTBUILDSPACE)\classes
@$(COMPILE_JAVAC) -classpath $(HOTSPOTWORKSPACE)\src\share\tools\MakeDeps -g -d $(HOTSPOTBUILDSPACE)/classes $(MakeDepsSources)
@$(COMPILE_JAVAC) -classpath $(HOTSPOTWORKSPACE)\src\share\tools\MakeDeps -d $(HOTSPOTBUILDSPACE)/classes $(MakeDepsSources)
FORCE:

View File

@@ -2631,13 +2631,13 @@ void MacroAssembler::regcon_inc_ptr( RegisterOrConstant& dest, RegisterOrConstan
(src.is_register() && src.as_register() == G0)) {
// do nothing
} else if (dest.is_register()) {
add(dest.as_register(), ensure_rs2(src, temp), dest.as_register());
add(dest.as_register(), ensure_simm13_or_reg(src, temp), dest.as_register());
} else if (src.is_constant()) {
intptr_t res = dest.as_constant() + src.as_constant();
dest = RegisterOrConstant(res); // side effect seen by caller
} else {
assert(temp != noreg, "cannot handle constant += register");
add(src.as_register(), ensure_rs2(dest, temp), temp);
add(src.as_register(), ensure_simm13_or_reg(dest, temp), temp);
dest = RegisterOrConstant(temp); // side effect seen by caller
}
}
@@ -2710,7 +2710,7 @@ void MacroAssembler::lookup_interface_method(Register recv_klass,
RegisterOrConstant itable_offset = itable_index;
regcon_sll_ptr(itable_offset, exact_log2(itableMethodEntry::size() * wordSize));
regcon_inc_ptr(itable_offset, itableMethodEntry::method_offset_in_bytes());
add(recv_klass, ensure_rs2(itable_offset, sethi_temp), recv_klass);
add(recv_klass, ensure_simm13_or_reg(itable_offset, sethi_temp), recv_klass);
// for (scan = klass->itable(); scan->interface() != NULL; scan += scan_step) {
// if (scan->interface() == intf) {
@@ -4676,3 +4676,50 @@ void MacroAssembler::reinit_heapbase() {
load_ptr_contents(base, G6_heapbase);
}
}
// Compare char[] arrays aligned to 4 bytes.
void MacroAssembler::char_arrays_equals(Register ary1, Register ary2,
Register limit, Register result,
Register chr1, Register chr2, Label& Ldone) {
Label Lvector, Lloop;
assert(chr1 == result, "should be the same");
// Note: limit contains number of bytes (2*char_elements) != 0.
andcc(limit, 0x2, chr1); // trailing character ?
br(Assembler::zero, false, Assembler::pt, Lvector);
delayed()->nop();
// compare the trailing char
sub(limit, sizeof(jchar), limit);
lduh(ary1, limit, chr1);
lduh(ary2, limit, chr2);
cmp(chr1, chr2);
br(Assembler::notEqual, true, Assembler::pt, Ldone);
delayed()->mov(G0, result); // not equal
// only one char ?
br_on_reg_cond(rc_z, true, Assembler::pn, limit, Ldone);
delayed()->add(G0, 1, result); // zero-length arrays are equal
// word by word compare, dont't need alignment check
bind(Lvector);
// Shift ary1 and ary2 to the end of the arrays, negate limit
add(ary1, limit, ary1);
add(ary2, limit, ary2);
neg(limit, limit);
lduw(ary1, limit, chr1);
bind(Lloop);
lduw(ary2, limit, chr2);
cmp(chr1, chr2);
br(Assembler::notEqual, true, Assembler::pt, Ldone);
delayed()->mov(G0, result); // not equal
inccc(limit, 2*sizeof(jchar));
// annul LDUW if branch is not taken to prevent access past end of array
br(Assembler::notZero, true, Assembler::pt, Lloop);
delayed()->lduw(ary1, limit, chr1); // hoisted
// Caller should set it:
// add(G0, 1, result); // equals
}

View File

@@ -1279,6 +1279,7 @@ public:
// 171
inline void ldf(FloatRegisterImpl::Width w, Register s1, RegisterOrConstant s2, FloatRegister d);
inline void ldf(FloatRegisterImpl::Width w, Register s1, Register s2, FloatRegister d);
inline void ldf(FloatRegisterImpl::Width w, Register s1, int simm13a, FloatRegister d, RelocationHolder const& rspec = RelocationHolder());
@@ -1535,7 +1536,8 @@ public:
// pp 222
inline void stf( FloatRegisterImpl::Width w, FloatRegister d, Register s1, Register s2 );
inline void stf( FloatRegisterImpl::Width w, FloatRegister d, Register s1, RegisterOrConstant s2);
inline void stf( FloatRegisterImpl::Width w, FloatRegister d, Register s1, Register s2);
inline void stf( FloatRegisterImpl::Width w, FloatRegister d, Register s1, int simm13a);
inline void stf( FloatRegisterImpl::Width w, FloatRegister d, const Address& a, int offset = 0);
@@ -2049,12 +2051,13 @@ public:
Register temp = noreg );
void regcon_sll_ptr( RegisterOrConstant& dest, RegisterOrConstant src,
Register temp = noreg );
RegisterOrConstant ensure_rs2(RegisterOrConstant rs2, Register sethi_temp) {
guarantee(sethi_temp != noreg, "constant offset overflow");
if (is_simm13(rs2.constant_or_zero()))
return rs2; // register or short constant
set(rs2.as_constant(), sethi_temp);
return sethi_temp;
RegisterOrConstant ensure_simm13_or_reg(RegisterOrConstant roc, Register Rtemp) {
guarantee(Rtemp != noreg, "constant offset overflow");
if (is_simm13(roc.constant_or_zero()))
return roc; // register or short constant
set(roc.as_constant(), Rtemp);
return RegisterOrConstant(Rtemp);
}
// --------------------------------------------------
@@ -2455,6 +2458,11 @@ public:
void inc_counter(address counter_addr, Register Rtmp1, Register Rtmp2);
void inc_counter(int* counter_addr, Register Rtmp1, Register Rtmp2);
// Compare char[] arrays aligned to 4 bytes.
void char_arrays_equals(Register ary1, Register ary2,
Register limit, Register result,
Register chr1, Register chr2, Label& Ldone);
#undef VIRTUAL
};

View File

@@ -99,6 +99,11 @@ inline void Assembler::flush( Register s1, int simm13a) { emit_data( op(arith_op
inline void Assembler::jmpl( Register s1, Register s2, Register d ) { emit_long( op(arith_op) | rd(d) | op3(jmpl_op3) | rs1(s1) | rs2(s2)); has_delay_slot(); }
inline void Assembler::jmpl( Register s1, int simm13a, Register d, RelocationHolder const& rspec ) { emit_data( op(arith_op) | rd(d) | op3(jmpl_op3) | rs1(s1) | immed(true) | simm(simm13a, 13), rspec); has_delay_slot(); }
inline void Assembler::ldf(FloatRegisterImpl::Width w, Register s1, RegisterOrConstant s2, FloatRegister d) {
if (s2.is_register()) ldf(w, s1, s2.as_register(), d);
else ldf(w, s1, s2.as_constant(), d);
}
inline void Assembler::ldf(FloatRegisterImpl::Width w, Register s1, Register s2, FloatRegister d) { emit_long( op(ldst_op) | fd(d, w) | alt_op3(ldf_op3, w) | rs1(s1) | rs2(s2) ); }
inline void Assembler::ldf(FloatRegisterImpl::Width w, Register s1, int simm13a, FloatRegister d, RelocationHolder const& rspec) { emit_data( op(ldst_op) | fd(d, w) | alt_op3(ldf_op3, w) | rs1(s1) | immed(true) | simm(simm13a, 13), rspec); }
@@ -224,6 +229,11 @@ inline void Assembler::sethi( int imm22a, Register d, RelocationHolder const& rs
// pp 222
inline void Assembler::stf( FloatRegisterImpl::Width w, FloatRegister d, Register s1, RegisterOrConstant s2) {
if (s2.is_register()) stf(w, d, s1, s2.as_register());
else stf(w, d, s1, s2.as_constant());
}
inline void Assembler::stf( FloatRegisterImpl::Width w, FloatRegister d, Register s1, Register s2) { emit_long( op(ldst_op) | fd(d, w) | alt_op3(stf_op3, w) | rs1(s1) | rs2(s2) ); }
inline void Assembler::stf( FloatRegisterImpl::Width w, FloatRegister d, Register s1, int simm13a) { emit_data( op(ldst_op) | fd(d, w) | alt_op3(stf_op3, w) | rs1(s1) | immed(true) | simm(simm13a, 13)); }
@@ -284,6 +294,7 @@ inline void Assembler::stx(Register d, const Address& a, int offset) {
inline void Assembler::stb(Register d, Register s1, RegisterOrConstant s2) { stb(d, Address(s1, s2)); }
inline void Assembler::sth(Register d, Register s1, RegisterOrConstant s2) { sth(d, Address(s1, s2)); }
inline void Assembler::stw(Register d, Register s1, RegisterOrConstant s2) { stw(d, Address(s1, s2)); }
inline void Assembler::stx(Register d, Register s1, RegisterOrConstant s2) { stx(d, Address(s1, s2)); }
inline void Assembler::std(Register d, Register s1, RegisterOrConstant s2) { std(d, Address(s1, s2)); }
inline void Assembler::st( Register d, Register s1, RegisterOrConstant s2) { st( d, Address(s1, s2)); }

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2000-2005 Sun Microsystems, Inc. All Rights Reserved.
* Copyright 2000-2009 Sun Microsystems, Inc. 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
@@ -38,7 +38,7 @@ enum {
// registers
enum {
pd_nof_cpu_regs_frame_map = 32, // number of registers used during code emission
pd_nof_caller_save_cpu_regs_frame_map = 6, // number of cpu registers killed by calls
pd_nof_caller_save_cpu_regs_frame_map = 10, // number of cpu registers killed by calls
pd_nof_cpu_regs_reg_alloc = 20, // number of registers that are visible to register allocator
pd_nof_cpu_regs_linearscan = 32,// number of registers visible linear scan
pd_first_cpu_reg = 0,

View File

@@ -320,6 +320,10 @@ void FrameMap::init () {
_caller_save_cpu_regs[3] = FrameMap::O3_opr;
_caller_save_cpu_regs[4] = FrameMap::O4_opr;
_caller_save_cpu_regs[5] = FrameMap::O5_opr;
_caller_save_cpu_regs[6] = FrameMap::G1_opr;
_caller_save_cpu_regs[7] = FrameMap::G3_opr;
_caller_save_cpu_regs[8] = FrameMap::G4_opr;
_caller_save_cpu_regs[9] = FrameMap::G5_opr;
for (int i = 0; i < nof_caller_save_fpu_regs; i++) {
_caller_save_fpu_regs[i] = LIR_OprFact::single_fpu(i);
}

Some files were not shown because too many files have changed in this diff Show More