| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\ |
|
| | |
|
|\ \ |
|
| | \ | |
| | \ | |
| |\ \ \
| | | | |
| | | | |
| | | | | |
'hubertp/ticket/4336' into develop
|
| | |/ /
| | | |
| | | |
| | | | |
Some of the type params might already be instantiated if explicit type application is done. Review by @adriaanm
|
| | | | |
|
| |\ \ \
| | |/ /
| |/| | |
AvlTree performance improvements
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
implementations performances.
|
|\| | |
| |_|/
|/| |
| | |
| | | |
Conflicts:
src/compiler/scala/reflect/internal/Definitions.scala
|
| | | | |
| | \ | |
| |\ \ \
| | | | |
| | | | |
| | | | | |
'scalamacros/ticket/5418' into develop
|
| | |/ / |
|
| | | | |
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | |
| | | |
| | | | |
Temporarily removed getClass from AnyVal to get build going.
Disabled anyval-childen test.
Fixed some other build problems.
Implemented step 1 + 2 of inline classes proposal.
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Hacks here and there to allow them to survive at least
to erasure. Since nothing is done with them there yet, they
inevitably crash and burn a little ways beyond that.
|
| | | |
|
| | | | |
| | \ | |
| |\ \ \
| |/ / /
|/| | |
| | | | |
'axel22/feature/immutable-thread-safe' into develop
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This is part of an effort to make the immutable collections
(more) thread safe. The `::` still has non-final member fields
for head and tail, but there is not much that can be done right
now about that, since these fields are used by list buffers.
Tried writing a test with unsafe initialization, but could not
invent a scenario which actually fails, at least on the JDK6.
|
| | |
| | |
| | |
| | |
| | | |
The benchmarks charts are confusing me and I want to rule it out
as a problem by not having it exist for a while.
|
|/ /
| |
| |
| |
| |
| | |
"Induced" but not in my estimation "caused". Would like to understand
why the enclosed test case crashes under -optimise without this change
to AddInterfaces.
|
| | | |
| \ | |
|\ \ \
| | | |
| | | |
| | | | |
into develop
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Changed CompositeThrowable to inherit Exception instead of Throwable.
A few minor fixes for the jdk1.5 parallel collection tasks.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is done by structurally serializing list nodes, but prepending a special
`ListSerializationStart` symbol ahead of the list. If this symbol is not
in the object input stream, the deserialization reverts to the old mode.
Note there is not much to be done for list buffers - their serialization was
broken before, so legacy serialized list buffers are no longer deserializable.
However, their serialVersionUID was changed to reflect this, so deserializing
a legacy list buffer should fail fast.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Conflicts:
src/compiler/scala/reflect/internal/Symbols.scala
src/compiler/scala/reflect/internal/Types.scala
src/compiler/scala/tools/nsc/typechecker/Typers.scala
src/library/scala/reflect/api/Trees.scala
|
| | | | |
| | | | |
| | | | |
| | | | | |
The idea is that all operations that need to be synchronized are overriden in classes reflect.runtime.Synchronized*. Sometimes this applies to operations defined in SymbolTable, which can be directly overridden. Sometimes it is more convenient to generate SynchronizedClazz subclasses of SymbolTable classes Clazz. In the latter case, all instance creation must go over factory methods that can be overridden in the Synchronized traits.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
given moment (instead of throwing type errors). This avoids previous problems where we were creating fake error trees in some incorrect places like in type completers in Namers etc. Implicits relied heavily on type errors being thrown but performance should stay the same due to some explicit checks/returns.
Some of the problems involved how ambiguous error messages were collected/reported because it was very random (similarly for divergent implicits). This should be more explicit now. Reduced the number of unnecessary cyclic references being thrown (apart from those in Symbols/Types which don't have a context and need to stay for now as is).
Review by @paulp, @odersky.
|
| |_|/ /
|/| | |
| | | |
| | | | |
Plus a big unit test I had lying around.
|
| | | | | |
| \ \ \ | |
| \ \ \ | |
| \ \ \ | |
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
'scalamacros/topic/macros' and 'kmizu/pullrequest-fix-SI-4835' into develop
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This test case only confirm that StreamIterator's lazyiness is not broken.
Test case about memory consumption could be created. However, such a
test cause a greatly increased time of test.
|
| | | | | | | |
|
| | |_|_|/ /
| |/| | | | |
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Lists are now serialized so that the entire list structure is serialized, including list nodes.
This is different from the previous behaviour where only the elements were serialized.
List buffers are now optimized so that only the elements of the list are serialized, and
not the nodes of the internally maintained list.
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
In lambda lift traits are renamed independently of their
implementation classes, leading in the case of a method-defined
trait to an interface called A$1 and an impl class called A$class$1
rather than A$1$class. This is now remedied.
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
'odersky/topic/t5120' into develop
|
| | |/ /
| |/| |
| | | |
| | | | |
soundness problem t5120.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously, when using ThreadStoppingLineManager (ie, not using
-Yrepl-sync), the parent classloader was installed as the thread
context classloader. On my machine, this was null.
Now, the behaviour is consistent with the thread-free line manager,
and allows access to classes defined during the REPL session.
Closes SI-5072
|
| | | | |
|
| | | | |
|
| | | | | |
| \ \ \ | |
|\ \ \ \ \
| | |/ / /
| |/| / /
| |_|/ /
|/| | | |
'szabolcsberecz/SI-5066' into develop
|
| | | |
| | | |
| | | |
| | | |
| | | | |
readLine("%s", "prompt") printed "WrappedArray(prompt)"
readLine("%s%s", "pro", "mpt") threw a MissingFormatArgumentException
|
|\ \ \ \ |
|
| | | | | |
|
|\| | | |
| |/ / /
|/| | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
A short recap:
* Macro expansion now works finely for instance macro invocations
* Macros are now hidden behind -Xmacros
* Bodies of macros now have "import _context._" in their preamble
* Macros are now loaded from classpath, much like regular libraries
* Macros can now override methods (in that case macro expansion
does not crash if macro is not found, it just falls back to super)
Review by @odersky.
|
|/ /
| |
| |
| |
| |
| | |
re-evaluating the predicate after it once evaluated to true.
Closes SI-5387.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fix the test for number of arguments by passing all arguments instead
of passing the argument list as a single argument.
Add positive and negative tests for it.
|